CVS: libraries/include commandline.h,1.1,1.2
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/libraries/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20661/libraries/include Modified Files: commandline.h Log Message: add simple tab complete impl Index: commandline.h =================================================================== RCS file: /cvsroot/mspgcc/libraries/include/commandline.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -d -r1.1 -r1.2 --- commandline.h 22 Aug 2005 11:25:26 -0000 1.1 +++ commandline.h 4 Apr 2006 22:25:06 -0000 1.2 @@ -148,4 +148,17 @@ */ int command_checksum(int argc, char *argv[]); +/** + * Simple Tab completion. This function can be called when a command should be + * completed. This function writes to the display using printf/putchar. + * + * @param commandline_table table with commands that can be completed + * @param lineeditor the command line, that is edited + * @param prompt the prompt is used after a list of command was printed + */ +void commandline_tabcomplete( + const COMMANDLINE_TABLE *commandline_table, + LINEEDITOR_STATE *lineeditor, + const char *prompt +); #endif //MSPGCC_COMMANDLINE_H ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642