|  | The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
    | 
Legacy API functions - DO NOT USE IN NEW CODE. More...
#include <freeradius-devel/build.h>#include <freeradius-devel/missing.h>#include <freeradius-devel/util/dcursor.h>#include <freeradius-devel/util/pair.h>#include <freeradius-devel/util/value.h>#include <freeradius-devel/util/token.h> Include dependency graph for pair_legacy.h:
 Include dependency graph for pair_legacy.h:Go to the source code of this file.
| Data Structures | |
| struct | fr_pair_parse_s | 
| Typedefs | |
| typedef struct fr_pair_parse_s | fr_pair_parse_t | 
| Functions | |
| int | fr_pair_list_afrom_file (TALLOC_CTX *ctx, fr_dict_t const *dict, fr_pair_list_t *out, FILE *fp, bool *pfiledone) | 
| Read valuepairs from the fp up to End-Of-File. | |
| fr_slen_t | fr_pair_list_afrom_substr (fr_pair_parse_t const *root, fr_pair_parse_t *relative, fr_sbuff_t *in) | 
| Parse a fr_pair_list_t from a substring. | |
| void | fr_pair_list_move_op (fr_pair_list_t *to, fr_pair_list_t *from, fr_token_t op) | 
| Move pairs from source list to destination list respecting operator. | |
Legacy API functions - DO NOT USE IN NEW CODE.
Definition in file pair_legacy.h.
| struct fr_pair_parse_s | 
Definition at line 42 of file pair_legacy.h.
 Collaboration diagram for fr_pair_parse_s:
 Collaboration diagram for fr_pair_parse_s:| Data Fields | ||
|---|---|---|
| bool | allow_compare | allow comparison operators | 
| bool | allow_crlf | allow CRLF, and treat like comma | 
| TALLOC_CTX * | ctx | |
| fr_dict_attr_t const * | da | root da to start parsing from | 
| char | last_char | last character we read - ',', ' ', or 0 for EOF | 
| fr_pair_list_t * | list | list where output is placed | 
| bool | tainted | source is tainted | 
| typedef struct fr_pair_parse_s fr_pair_parse_t | 
| int fr_pair_list_afrom_file | ( | TALLOC_CTX * | ctx, | 
| fr_dict_t const * | dict, | ||
| fr_pair_list_t * | out, | ||
| FILE * | fp, | ||
| bool * | pfiledone | ||
| ) | 
Read valuepairs from the fp up to End-Of-File.
| [in] | ctx | for talloc | 
| [in] | dict | to resolve attributes in. | 
| [in,out] | out | where the parsed fr_pair_ts will be appended. | 
| [in] | fp | to read valuepairs from. | 
| [out] | pfiledone | true if file parsing complete; | 
Definition at line 677 of file pair_legacy.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| fr_slen_t fr_pair_list_afrom_substr | ( | fr_pair_parse_t const * | root, | 
| fr_pair_parse_t * | relative, | ||
| fr_sbuff_t * | in | ||
| ) | 
Parse a fr_pair_list_t from a substring.
| [in] | root | where we start parsing from | 
| [in,out] | relative | where we left off, or where we should continue from | 
| [in] | in | input sbuff | 
Definition at line 154 of file pair_legacy.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void fr_pair_list_move_op | ( | fr_pair_list_t * | to, | 
| fr_pair_list_t * | from, | ||
| fr_token_t | op | ||
| ) | 
Move pairs from source list to destination list respecting operator.
| [in,out] | to | destination list. | 
| [in,out] | from | source list. | 
| [in] | op | operator for list move. | 
Definition at line 756 of file pair_legacy.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: 1.9.8
 1.9.8