Marco Marino wrote:That works. See the existing modules for examples.
> 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:
Well.. you've deleted anything useful in the text you pasted there.
> 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.
If you make it hard for us to help you... then we can't help you.
> Someone can help me with this implementation. Should i useYes.
> PW_TYPE_SUBSECTION in the main module_config[] structure?
Process it manually. See the existing code for examples.
> How can i manage the case where there are N subsection of the same type?
And we're not really in the business of debugging closed-source code.
If your module is public and useful, we can take a look at adding it to
the server. If your module is private, then we can't really help.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html