/****************************************************************************\ * Copyright (C) 1992 by Michael K. Johnson, johnsonm@nigel.vnet.net * * * * This file is placed under the conditions of the GNU public * * license, version 2, or any later version. See file COPYING * * for information on distribution conditions. * \****************************************************************************/ /* tunelp.c,v 1.1.1.1 1995/02/22 19:09:12 faith Exp * tunelp.c,v * Revision 1.1.1.1 1995/02/22 19:09:12 faith * Imported sources * * Revision 1.5 1995/01/13 10:33:43 johnsonm * Chris's changes for new ioctl numbers and backwards compatibility * and the reset ioctl. * * Revision 1.4 1995/01/03 17:42:14 johnsonm * -s isn't supposed to take an argument; removed : after s in getopt... * * Revision 1.3 1995/01/03 07:36:49 johnsonm * Fixed typo * * Revision 1.2 1995/01/03 07:33:44 johnsonm * revisions for lp driver updates in Linux 1.1.76 * * */ #include #include #include #include #include #include #include #include #include #include #include struct command { long op; long val; struct command *next; }; void print_usage(char *progname) { printf("Usage: %s [ -i | -t