12 #include <memcached/visibility.h>
13 #include <memcached/types.h>
19 MEMCACHED_PUBLIC_API
bool safe_strtoull(
const char *str, uint64_t *out);
20 MEMCACHED_PUBLIC_API
bool safe_strtoll(
const char *str, int64_t *out);
21 MEMCACHED_PUBLIC_API
bool safe_strtoul(
const char *str, uint32_t *out);
22 MEMCACHED_PUBLIC_API
bool safe_strtol(
const char *str, int32_t *out);
23 MEMCACHED_PUBLIC_API
bool safe_strtof(
const char *str,
float *out);
26 MEMCACHED_PUBLIC_API
extern uint64_t htonll(uint64_t);
27 MEMCACHED_PUBLIC_API
extern uint64_t ntohll(uint64_t);
31 # define __gcc_attribute__ __attribute__
33 # define __gcc_attribute__(x)
42 MEMCACHED_PUBLIC_API
void vperror(
const char *
fmt, ...)
43 __gcc_attribute__ ((format (printf, 1, 2)));