networkclient
dict.c File Reference

Functions for name to number, and number to name mappings. More...

#include <networkradius-devel/client.h>
Include dependency graph for dict.c:

Functions

const DICT_ATTRnr_dict_attr_byvalue (unsigned int attr, unsigned int vendor)
 
const DICT_ATTRnr_dict_attr_byname (const char *name)
 
int nr_dict_attr_2struct (DICT_ATTR *da, unsigned int attr, unsigned int vendor, char *buffer, size_t bufsize)
 
const DICT_VALUEnr_dict_value_byattr (UNUSED unsigned int attr, UNUSED unsigned int vendor, UNUSED int value)
 
const DICT_VALUEnr_dict_value_byname (UNUSED unsigned int attr, UNUSED unsigned int vendor, UNUSED const char *name)
 
int nr_dict_vendor_byname (const char *name)
 
const DICT_VENDORnr_dict_vendor_byvalue (unsigned int vendor)
 

Detailed Description

Functions for name to number, and number to name mappings.

Function Documentation

const DICT_VALUE* nr_dict_value_byattr ( UNUSED unsigned int  attr,
UNUSED unsigned int  vendor,
UNUSED int  value 
)
const DICT_VALUE* nr_dict_value_byname ( UNUSED unsigned int  attr,
UNUSED unsigned int  vendor,
UNUSED const char *  name 
)