24 RCSIDH(pair_legacy_h,
"$Id: 5f3ef16685a949c75eb103798f24508a271b6f98 $")
26 #include <freeradius-devel/build.h>
27 #include <freeradius-devel/missing.h>
28 #include <freeradius-devel/util/dcursor.h>
29 #include <freeradius-devel/util/pair.h>
30 #include <freeradius-devel/util/value.h>
31 #include <freeradius-devel/util/token.h>
struct fr_pair_parse_s fr_pair_parse_t
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.
fr_pair_list_t * list
list where output is placed
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.
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.
bool allow_compare
allow comparison operators
fr_dict_attr_t const * da
root da to start parsing from
bool tainted
source is tainted
bool allow_crlf
allow CRLF, and treat like comma
char last_char
last character we read - ',', ' ', or 0 for EOF
static size_t char ** out