Mercurial > hg > nnchat
comparison util.h @ 498:b6f6c989deab
Add str_trim_right().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 01 Jun 2012 04:43:53 +0300 |
parents | 73f8df0ecffe |
children | 291e3caa91a0 |
comparison
equal
deleted
inserted
replaced
497:cbbf502e4a70 | 498:b6f6c989deab |
---|---|
81 void nn_strtuple_free(nn_strtuple_t *); | 81 void nn_strtuple_free(nn_strtuple_t *); |
82 | 82 |
83 | 83 |
84 BOOL str_get_timestamp(char *str, size_t len, const char *fmt); | 84 BOOL str_get_timestamp(char *str, size_t len, const char *fmt); |
85 char * str_trim_left(char *buf); | 85 char * str_trim_left(char *buf); |
86 char * str_trim_right(char *buf); | |
86 int str_compare(const void *s1, const void *s2); | 87 int str_compare(const void *s1, const void *s2); |
87 | 88 |
88 #endif | 89 #endif |