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.

_______________________________________________

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to