From: Erik M. <er...@us...> - 2001-10-07 22:36:13
|
Update of /cvsroot/blob/blob/include/blob In directory usw-pr-cvs1:/tmp/cvs-serv32181/include/blob Modified Files: Makefile.am terminal.h Added Files: reboot.h Log Message: - Move the reboot command to the library - Put command help into terminal.c and reboot.c --- NEW FILE: reboot.h --- /* * reboot.h: header file for lib/reboot.h * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: reboot.h,v 1.1 2001/10/07 22:36:11 erikm Exp $ * * 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: reboot.h,v 1.1 2001/10/07 22:36:11 erikm Exp $" #ifndef BLOB_REBOOT_H #define BLOB_REBOOT_H extern char reboothelp[]; int reboot(int argc, char *argv[]); #endif Index: Makefile.am =================================================================== RCS file: /cvsroot/blob/blob/include/blob/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.am 2001/10/07 20:54:23 1.4 +++ Makefile.am 2001/10/07 22:36:11 1.5 @@ -24,6 +24,7 @@ memory.h \ memsetup.h \ param_block.h \ + reboot.h \ sa1100.h \ serial.h \ terminal.h \ Index: terminal.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/terminal.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- terminal.h 2001/10/07 20:54:23 1.1 +++ terminal.h 2001/10/07 22:36:11 1.2 @@ -29,6 +29,7 @@ +extern char resethelp[]; int reset_terminal(int argc, char *argv[]); |