--- libaitio/inc/aitio.h 2010/03/09 13:47:02 1.2.2.2 +++ libaitio/inc/aitio.h 2010/03/11 00:17:52 1.2.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.2.2.2 2010/03/09 13:47:02 misho Exp $ +* $Id: aitio.h,v 1.2.2.3 2010/03/11 00:17:52 misho Exp $ * *************************************************************************/ #ifndef __AITIO_H @@ -202,6 +202,14 @@ int io_Cmd_Help(void *cmds, FILE *out, char ** __restr * return: 1 exit from Cli! */ int io_Cmd_Exit(void *cmds, FILE *out, char ** __restrict args); + +/* + * io_Comp_Filename() Builtin helper function for filename completion arguments + * @text = Text line + * @state = Position state + * return: NULL not found filename, != NULL filename +*/ +char *io_Comp_Filename(const char *text, int state); #endif