[asterisk-dev] Janitor Project: NEW_CLI conversion

Russell Bryant russell at digium.com
Fri Sep 14 15:32:47 CDT 2007


It has been a while since I posted a "janitor project" to this list, so here is one.

In trunk, we have a new method for defining CLI commands that only requires
creating one function, has more features, and is less prone to errors.  Most of
the code for implementing CLI commands still uses the old method.  However, it
would be a welcome change to convert any CLI commands to the new style.

Examples of using the new style can be found in main/cli.c and
channels/chan_oss.c, among other places.  Search for "NEW_CLI" and you will see
where CLI commands have been defined in the new style.

If you have any questions, let me know!

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list