From: Stefan E. <se...@us...> - 2001-10-05 11:51:55
|
Update of /cvsroot/blob/blob/include In directory usw-pr-cvs1:/tmp/cvs-serv24043 Modified Files: command_hist.h Log Message: - command line history functions Index: command_hist.h =================================================================== RCS file: /cvsroot/blob/blob/include/command_hist.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- command_hist.h 2001/10/05 11:49:29 1.1 +++ command_hist.h 2001/10/05 11:51:52 1.2 @@ -0,0 +1,38 @@ +/********************************************************************** + * command_hist.h + * + * AUTOR: SELETZ + * + * Header file for command_hist.h + * + * Copyright (C) 2001 Stefan Eletzhofer <ste...@ww...> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + */ + +#ident "$Id$" + +#ifndef INC_COMMAND_HIST_H +#define INC_COMMAND_HIST_H 1 + +int cmdhist_init( void ); +int cmdhist_push( char *cmd ); +int cmdhist_next( char **cmd ); +int cmdhist_prev( char **cmd ); +int cmdhist_reset( void ); + +#endif |