Functions | |
struct nfct_filter_dump * | nfct_filter_dump_create (void) |
nfct_filter_dump_create - create a dump filter More... | |
void | nfct_filter_dump_destroy (struct nfct_filter_dump *filter) |
nfct_filter_dump_destroy - destroy a dump filter More... | |
void | nfct_filter_dump_set_attr (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, const void *value) |
nfct_filter_dump_attr_set - set filter attribute More... | |
void | nfct_filter_dump_set_attr_u8 (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, u_int8_t value) |
nfct_filter_dump_attr_set_u8 - set u8 dump filter attribute More... | |
struct nfct_filter_dump* nfct_filter_dump_create | ( | void | ) |
nfct_filter_dump_create - create a dump filter
This function returns a valid pointer on success, otherwise NULL is returned and errno is appropriately set.
Referenced by main().
void nfct_filter_dump_destroy | ( | struct nfct_filter_dump * | filter | ) |
void nfct_filter_dump_set_attr | ( | struct nfct_filter_dump * | filter_dump, |
const enum nfct_filter_dump_attr | type, | ||
const void * | value | ||
) |
nfct_filter_dump_attr_set - set filter attribute
filter | dump filter object that we want to modify |
type | filter attribute type |
value | pointer to the value of the filter attribute |
References NFCT_FILTER_DUMP_MAX, NULL, set_filter_dump_attr_array, type, unlikely, and value.
Referenced by main(), and nfct_filter_dump_set_attr_u8().
void nfct_filter_dump_set_attr_u8 | ( | struct nfct_filter_dump * | filter_dump, |
const enum nfct_filter_dump_attr | type, | ||
u_int8_t | value | ||
) |
nfct_filter_dump_attr_set_u8 - set u8 dump filter attribute
filter | dump filter object that we want to modify |
type | filter attribute type |
value | value of the filter attribute using unsigned int (32 bits). |
References nfct_filter_dump_set_attr().
Referenced by main().