The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Functions to convert strings to integers and vice versa. More...
#include <freeradius-devel/util/table.h>
#include <freeradius-devel/util/misc.h>
Go to the source code of this file.
Functions | |
char const * | _fr_table_ptr_by_str_value (fr_table_ptr_sorted_t const *table, size_t table_len, char const *str_val, char const *def) |
Brute force search a sorted or ordered ptr table, assuming the pointers are strings. More... | |
Functions to convert strings to integers and vice versa.
Definition in file table.c.
char const* _fr_table_ptr_by_str_value | ( | fr_table_ptr_sorted_t const * | table, |
size_t | table_len, | ||
char const * | str_val, | ||
char const * | def | ||
) |
Brute force search a sorted or ordered ptr table, assuming the pointers are strings.
[in] | table | to search in. |
[in] | table_len | Number of elements in the table. |
[in] | str_val | to compare against the ptr field. |
[in] | def | default value. |
Definition at line 36 of file table.c.