28#define GET_TOKEN(start, end) \
31 while (fc_isspace(*start)) { \
35 for (end = start; *end != '\0' && !fc_isspace(*end) && *end != ','; \
62 if (((
size_t)(next - capstr) == cap_len)
63 && strncmp(cap, capstr, cap_len) == 0) {
static bool fc_has_capability(const char *cap, const char *capstr, const size_t cap_len)
bool has_capability(const char *cap, const char *capstr)
#define GET_TOKEN(start, end)
bool has_capabilities(const char *us, const char *them)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)