195 NSAPI_PUBLIC void INTutil_random(void *buf, size_t sz); |
195 NSAPI_PUBLIC void INTutil_random(void *buf, size_t sz); |
196 |
196 |
197 NSAPI_PUBLIC PRBool INTutil_format_http_version(const char *v, int *protv_num, char *buffer, int size); |
197 NSAPI_PUBLIC PRBool INTutil_format_http_version(const char *v, int *protv_num, char *buffer, int size); |
198 |
198 |
199 NSAPI_PUBLIC int INTutil_getboolean(const char *v, int def); |
199 NSAPI_PUBLIC int INTutil_getboolean(const char *v, int def); |
200 int util_getboolean_s(sstr_t s, int def); |
200 int util_getboolean_s(scstr_t s, int def); |
201 |
201 |
202 // new |
202 // new |
203 NSAPI_PUBLIC int util_strtoint(char *str, int64_t *value); |
203 NSAPI_PUBLIC int util_strtoint(char *str, int64_t *value); |
204 |
204 |
205 // TODO |
205 // TODO |