31void *rs_alloc(
size_t size,
char const *name);
32void *rs_realloc(
void *ptr,
size_t size,
char const *name);
33void *rs_alloc_struct0(
size_t size,
char const *name);
35void rs_bzero(
void *buf,
size_t size);
37int rs_long_ln2(rs_long_t v);
38int rs_long_sqrt(rs_long_t v);
41# define rs_alloc_struct(type) \
42 ((type *) rs_alloc_struct0(sizeof(type), #type))
45# define UNUSED(x) x __attribute__((unused))
46# elif defined(__LCLINT__) || defined(S_SPLINT_S)
Public header for librsync.