/****************************************************************************\ * 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. * \****************************************************************************/ /* $Id: tunelp.c,v 1.6 1995/06/04 01:47:11 faith Exp $ * $Log: tunelp.c,v $ * Revision 1.6 1995/06/04 01:47:11 faith * Changes for util-linux-2.4 * * Revision 1.5 1995/03/12 01:29:50 faith * util-linux-2.1 * * 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