src/server/ucx/string.h

changeset 51
b28cf69f42e8
parent 36
450d2d5f4735
child 71
069c152f6272
equal deleted inserted replaced
50:4d39adda7a38 51:b28cf69f42e8
93 int sstrcmp(sstr_t s1, sstr_t s2); 93 int sstrcmp(sstr_t s1, sstr_t s2);
94 94
95 sstr_t sstrdup(sstr_t s); 95 sstr_t sstrdup(sstr_t s);
96 96
97 // webserver extension 97 // webserver extension
98 int sstr_startswith(sstr_t string, sstr_t cmp);
98 sstr_t sstrtrim(sstr_t string); 99 sstr_t sstrtrim(sstr_t string);
99 sstr_t sstrdup_mp(UcxMempool *pool, sstr_t s); 100 sstr_t sstrdup_mp(UcxMempool *pool, sstr_t s);
100 sstr_t sstrdup_pool(pool_handle_t *pool, sstr_t s); 101 sstr_t sstrdup_pool(pool_handle_t *pool, sstr_t s);
101 102
102 #ifdef __cplusplus 103 #ifdef __cplusplus

mercurial