29 #define RTE_KVARGS_MAX 32 32 #define RTE_KVARGS_PAIRS_DELIM "," 35 #define RTE_KVARGS_KV_DELIM "=" 50 typedef int (*
arg_handler_t)(
const char *key,
const char *value,
void *opaque);
84 const char *
const valid_keys[]);
112 const char *
const valid_keys[],
113 const char *valid_ends);
166 const char *key,
const char *value);
204 const char *key_match);
struct rte_kvargs * rte_kvargs_parse_delim(const char *args, const char *const valid_keys[], const char *valid_ends)
const char * rte_kvargs_get_with_value(const struct rte_kvargs *kvlist, const char *key, const char *value)
void *(* handler)(void *sock_id)
void rte_kvargs_free(struct rte_kvargs *kvlist)
unsigned rte_kvargs_count(const struct rte_kvargs *kvlist, const char *key_match)
int(* arg_handler_t)(const char *key, const char *value, void *opaque)
const char * rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key)
struct rte_kvargs * rte_kvargs_parse(const char *args, const char *const valid_keys[])
int rte_kvargs_process(const struct rte_kvargs *kvlist, const char *key_match, arg_handler_t handler, void *opaque_arg)