1 /*************************************************************************** 2 * LPRng - An Extended Print Spooler System 3 * 4 * Copyright 1988-2003, Patrick Powell, San Diego, CA 5 * papowell@lprng.com 6 * See LICENSE for conditions of use. 7 * $Id: control.h,v 1.74 2004/09/24 20:19:59 papowell Exp $ 8 ***************************************************************************/ 9 10 11 #ifndef _CONTROL_H_ 12 #define _CONTROL_H_ 1 13 14 #define OP_START 1 15 #define OP_STOP 2 16 #define OP_ENABLE 3 17 #define OP_DISABLE 4 18 #define OP_ABORT 6 19 #define OP_KILL 7 20 #define OP_HOLD 8 21 #define OP_RELEASE 9 22 #define OP_TOPQ 10 23 #define OP_LPQ 11 24 #define OP_LPRM 12 25 #define OP_STATUS 13 26 #define OP_REDIRECT 14 27 #define OP_LPD 15 28 #define OP_PRINTCAP 16 29 #define OP_UP 17 30 #define OP_DOWN 18 31 #define OP_REREAD 19 32 #define OP_MOVE 20 33 #define OP_DEBUG 21 34 #define OP_HOLDALL 22 35 #define OP_NOHOLDALL 23 36 #define OP_CLASS 24 37 #define OP_DEFAULTQ 25 38 #define OP_ACTIVE 26 39 #define OP_REDO 27 40 #define OP_CLIENT 28 41 #define OP_SERVER 29 42 #define OP_MSG 30 43 #define OP_DEFAULTS 31 44 #define OP_FLUSH 32 45 #define OP_LANG 33 46 #define OP_PPD 34 47 48 /* PROTOTYPES */ 49 50 int Get_controlword( char *s ); 51 const char *Get_controlstr( int c ); 52 53 #endif 54