Daniel-Constantin Mierla wrote:
Hello,
On 08/03/05 16:17, Klaus Darilion wrote:
Hi!
It would be nice to have a list of all functions inside openser
(core + modules). Is it possible to autmatically generate this?
e.g. for the core parsing the lex files, for the module functions
parsing the sgml files
I do not believe it is that simple, but should be possible :-). It
will require a some work and maybe is better to extract the list by
hand and just keep it up-to-date afterwards.
Maybe we can use the cmd_export_t structure, which uses every module:
$ rgrep "static cmd_export_t" *
I'm sure a good script programmer can easily fetch the exported
functions. This way, we could also see to which module the function
belongs, and in which routes the functions can be used.
What cannot be extracted from there is the meaning of the parameters. It
is very easy to implement a function in openser to list all functions
exported by loaded modules.
I have added the core functions in the dokuwiki -- the parameters and
some text about still required :-)
Daniel
klaus
In this respect, I started the dokuwiki page:
http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook which
is dedicated for OpenSER core. But the list with exported functions
is not filled.
Daniel
regards,
klaus
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users