Changes in protocols/yahoo/yahoo_util.h [c36f73b:b7d3cc34]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo_util.h
rc36f73b rb7d3cc34 61 61 # define y_renew(type, mem, n) (type *)realloc(mem, n) 62 62 63 void * y_memdup(const void *addr, int n);64 char ** y_strsplit(char *str, char *sep, int nelem);65 void y_strfreev(char ** vector);63 void * y_memdup(const void * addr, int n); 64 char ** y_strsplit(char * str, char * sep, int nelem); 65 void y_strfreev(char ** vector); 66 66 67 #ifndef _WIN32 68 int strncasecmp(const char *s1, const char *s2, size_t n); 69 int strcasecmp(const char *s1, const char *s2); 67 int strncasecmp(const char * s1, const char * s2, size_t n); 68 int strcasecmp(const char * s1, const char * s2); 70 69 71 char * strdup(const char *s);70 char * strdup(const char *s); 72 71 73 72 int snprintf(char *str, size_t size, const char *format, ...); 74 73 int vsnprintf(char *str, size_t size, const char *format, va_list ap); 75 #endif76 74 77 75 #endif … … 97 95 * You must free it yourself 98 96 */ 99 char * y_string_append(char *str, char *append);100 char * y_str_to_utf8(const char *in);101 char * y_utf8_to_str(const char *in);97 char * y_string_append(char * str, char * append); 98 char * y_str_to_utf8(const char * in); 99 char * y_utf8_to_str(const char * in); 102 100 103 101 #endif
Note: See TracChangeset
for help on using the changeset viewer.