26 RCSIDH(cf_file_h,
"$Id: 3fd9fce54853c2297bdd76009c3a82c067c41a7c $")
31 #include <freeradius-devel/server/cf_util.h>
33 #include <freeradius-devel/util/rb.h>
34 #include <freeradius-devel/util/syserror.h>
35 #include <freeradius-devel/util/table.h>
36 #include <freeradius-devel/util/print.h>
66 char *output,
size_t outsize,
int cf_file_read(CONF_SECTION *cs, char const *file)
void cf_section_set_unlang(CONF_SECTION *cs)
char const * cf_expand_variables(char const *filename, int lineno, CONF_SECTION *outer_cs, char *output, size_t outsize, char const *input, ssize_t inlen, bool *soft_fail)
int cf_section_write(FILE *fp, CONF_SECTION *cs, int depth)
bool cf_file_check(CONF_PAIR *cp, bool check_perms)
Do some checks on the file as an "input" file.
int cf_section_pass2(CONF_SECTION *cs)
void cf_file_check_user(uid_t uid, gid_t gid)
Set the euid/egid used when performing file checks.
void cf_md5_final(uint8_t *digest)
CONF_ITEM * cf_reference_item(CONF_SECTION const *parentcs, CONF_SECTION const *outercs, char const *ptr)
void cf_file_free(CONF_SECTION *cs)
Common header for all CONF_* types.
Configuration AVP similar to a fr_pair_t.
A section grouping multiple CONF_PAIR.
static uint8_t depth(fr_minmax_heap_index_t i)
static size_t char fr_sbuff_t size_t inlen