]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/string.h
Update build of manpages, contd.
[libucw.git] / ucw / string.h
index b49370edb056b33c1bfc2cac8d2c065b66041467..9c527ba968b67b04ac298f851e34c5ab6a7b0bec 100644 (file)
@@ -40,7 +40,7 @@ size_t strnlen(const char *str, size_t n); // NOAPI
 char *str_format_flags(char *dest, const char *fmt, uint flags);
 
 /** Counts occurrences of @chr in @str. **/
-size_t str_count_char(const char *str, uns chr);
+size_t str_count_char(const char *str, uint chr);
 
 /* str-esc.c */
 
@@ -94,14 +94,14 @@ int str_match_pattern_nocase(const char *patt, const char *str);
  * not be separated), possibly OR-ed with `MEM_TO_HEX_UPCASE` when upper-case
  * characters should be used.
  **/
-void mem_to_hex(char *dest, const byte *src, size_t bytes, uns flags);
+void mem_to_hex(char *dest, const byte *src, size_t bytes, uint flags);
 
 /**
  * An inverse function to @mem_to_hex(). Takes a hexdump of at most @max_bytes
  * bytes and stores the bytes to a buffer starting at @dest. Returns a pointer
  * at the first character after the dump.
  **/
-const char *hex_to_mem(byte *dest, const char *src, size_t max_bytes, uns flags);
+const char *hex_to_mem(byte *dest, const char *src, size_t max_bytes, uint flags);
 
 // Bottom 8 bits of flags are an optional separator of bytes, the rest is:
 #define MEM_TO_HEX_UPCASE 0x100