dynamic data structure in my owm freeradius module
Marco Marino
marino.mrc at gmail.com
Wed Jan 22 09:50:00 CET 2014
Hi,
I'm trying to write my own module for freeradius. I'd like to use a
configuration file where i save some recursive structure. eg:
module_name <module_name> {
var1 = val1
var2 = val2
subsection1 subsection1_name {
var1_1 = val1_1
var1_2 = val1_2
}
....
....
subsectionN subsectionN_name {
varN_1 = valN_1
varN_2 = valN_2
}
}
I'm trying to realize a more simple data structure first, with only one
subsection. An example: http://pastebin.com/JYfh3BuK but i have a segfault.
Someone can help me with this implementation. Should i use
PW_TYPE_SUBSECTION in the main module_config[] structure?
How can i manage the case where there are N subsection of the same type?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140122/98cedd59/attachment.html>
More information about the Freeradius-Devel
mailing list