miconda left a comment (kamailio/kamailio#4517)
This policy was a result of trying to have a more coherent naming across the
modules, mainly for the internal tools that do indexing of parameters/functions
in the wiki. The tools are looking for certain files to locate the parameters,
functions, rpcs and statistics. Also, the structure of the xml files has to be
the same, because the tools use xpath to extract information. As I just looked
at the tool, it seems it can deal with:
- `modname_admin.xml` containing everything exported by the module to the
config (e.g., `sipdump` modules)
- `functions.xml `, `params.xml`, `rpc.xml`, `stats.xml` each containing the
suggested-by-file-name config exports (e.g., `tm` module)
- split files like the 2nd option here, but the file name prefixed with
`modname_` (e.g., `sl` module / `sl_functions.xml`)
All variants must have the `modname.xml` as the main docbook file to include
the others.
Also, for the code of the modules, it is expected to have either `modulename.c`
or `modulename_mod.c` as the main file for the module (the one that exports the
structures).
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4517#issuecomment-3660591081
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4517/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!