28#include <rte_compat.h>
31#define RTE_KVARGS_MAX 32
34#define RTE_KVARGS_PAIRS_DELIM ","
37#define RTE_KVARGS_KV_DELIM "="
52typedef int (*
arg_handler_t)(
const char *key,
const char *value,
void *opaque);
86 const char *
const valid_keys[]);
114 const char *
const valid_keys[],
115 const char *valid_ends);
172 const char *key,
const char *value);
210 const char *key_match);
void rte_kvargs_free(struct rte_kvargs *kvlist)
struct rte_kvargs * rte_kvargs_parse(const char *args, const char *const valid_keys[])
unsigned rte_kvargs_count(const struct rte_kvargs *kvlist, const char *key_match)
const char * rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key)
int rte_kvargs_process(const struct rte_kvargs *kvlist, const char *key_match, arg_handler_t handler, void *opaque_arg)
struct rte_kvargs * rte_kvargs_parse_delim(const char *args, const char *const valid_keys[], const char *valid_ends)
int(* arg_handler_t)(const char *key, const char *value, void *opaque)
__rte_experimental const char * rte_kvargs_get_with_value(const struct rte_kvargs *kvlist, const char *key, const char *value)
void *(* handler)(void *sock_id)
struct rte_kvargs_pair pairs[RTE_KVARGS_MAX]