#37 sl module doc lacks functions

ver devel
open
nobody
modules (50)
5
2008-07-02
2008-07-02
No

The SL module docs document two functions only, but the source registers these:

static cmd_export_t cmds[]={
{"sl_send_reply", (cmd_function)w_sl_send_reply, 2, fixup_sl_send_reply, 0,
REQUEST_ROUTE | ERROR_ROUTE },
{"sl_reply_error", (cmd_function)w_sl_reply_error, 0, 0, 0,
REQUEST_ROUTE},
{"register_slcb", (cmd_function)register_slcb, 0, 0, 0,
0},
{"load_sl", (cmd_function)load_sl, 0, 0, 0,
0},
{0,0,0,0,0,0}
};

I suggest that the "load_sl" and "register_slcb" functions is added to the documentation.

Discussion

  • - load_sl
    This function is used to import the SL API. This should be documented in the developer part, like in the TM module.

    - register_slcb
    This function is used to register SL callbacks, not sure why this is exported to the config script