Changes in protocols/yahoo/yahoo_util.h [b7d3cc34:c36f73b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo_util.h
rb7d3cc34 rc36f73b 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 ** 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 int strncasecmp(const char * s1, const char * s2, size_t n); 68 int strcasecmp(const char * s1, const char * s2); 67 #ifndef _WIN32 68 int strncasecmp(const char *s1, const char *s2, size_t n); 69 int strcasecmp(const char *s1, const char *s2); 69 70 70 char * 71 char *strdup(const char *s); 71 72 72 73 int snprintf(char *str, size_t size, const char *format, ...); 73 74 int vsnprintf(char *str, size_t size, const char *format, va_list ap); 75 #endif 74 76 75 77 #endif … … 95 97 * You must free it yourself 96 98 */ 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);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); 100 102 101 103 #endif
Note: See TracChangeset
for help on using the changeset viewer.