[sr-dev] git:andrei/cdefs2doc: doc: script to generate select lists from C code

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Oct 19 18:47:37 CEST 2009


Module: sip-router
Branch: andrei/cdefs2doc
Commit: 56a77aea9b3af5540f2415f0d8b751375f5d876d
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=56a77aea9b3af5540f2415f0d8b751375f5d876d

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Mon Oct 19 18:30:45 2009 +0200

doc: script to generate select lists from C code

Added a perl script that tries to generate the list of selects
defined in a C file.
The script works by looking for the first select_row_t array with
an initializer in the .c file. It then tries to generate the list
of all possible selects (but it still has some bugs, especially on
 matching params to a select part).

Note: there is no documentation generated besides the list
(the select format is not auto-documented).

---

 doc/scripts/cdefs2doc/dump_selects.pl |  392 +++++++++++++++++++++++++++++++++
 1 files changed, 392 insertions(+), 0 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=56a77aea9b3af5540f2415f0d8b751375f5d876d



More information about the sr-dev mailing list