Pulling %{client:} into rlm_perl

Boris Lytochkin lytboris at yandex-team.ru
Fri Oct 21 19:52:34 CEST 2016


I'm implementing support for hash-like access (r/o I guess) to %{client:...} from rlm_perl module. The issue is that CONF_SECTION structure is just typedef'ed and there is no access to 
pair/section_tree from outside main/conffile.c.

Should I pull `struct conf_part` into headers or make some sort of walker inside conffile.c?

p/s. There's declaration of seems-to-be handy function:
int dump_config(CONF_SECTION const *cs);
but no code is there anymore :)

Boris Lytochkin
Yandex NOC
+7 (495) 739 70 00 ext. 7671

More information about the Freeradius-Devel mailing list