Main Page | Data Structures | File List | Globals

include/util_exits.h

00001 /*
00002 ** mouse:~ppr/src/include/util_exits.h
00003 ** Copyright 1995--2000, Trinity College Computing Center.
00004 ** Written by David Chappell.
00005 **
00006 ** Permission to use, copy, modify, and distribute this software and its
00007 ** documentation for any purpose and without fee is hereby granted, provided
00008 ** that the above copyright notice appear in all copies and that both that
00009 ** copyright notice and this permission notice appear in supporting
00010 ** documentation.  This software is provided "as is" without express or
00011 ** implied warranty.
00012 **
00013 ** Last modified 18 January 2000.
00014 */
00015 
00016 /*
00017 ** This file defines the exit codes to be used by the utilities
00018 ** such as ppop, ppad, and ppuser.
00019 */
00020 
00021 #define EXIT_OK_DATA -1         /* for ppop/pprd communication */
00022 #define EXIT_OK 0               /* normal exit */
00023 #define EXIT_BADDEST 1          /* non-existent destination specified */
00024 #define EXIT_BADJOB 2           /* non-existent job specified */
00025 #define EXIT_BADBIN 3           /* non-existent input tray */
00026 #define EXIT_NOTFOUND 3         /* non-existent parameter value */
00027 #define EXIT_PRINTING 4         /* can't move or hold, already printing */
00028 #define EXIT_DENIED 5           /* access denied */
00029 #define EXIT_PRNONLY 6          /* command only applicable to printers */
00030 #define EXIT_CANTWAIT 7         /* wait feature already in use */
00031 #define EXIT_ALREADY 8          /* printer/job already in desired state */
00032 #define EXIT_INTERNAL 10        /* internal error */
00033 #define EXIT_NOSPOOLER 11       /* spooler not running */
00034 #define EXIT_OVERFLOW 12        /* too many of something */
00035 #define EXIT_SYNTAX 20          /* invokation syntax error */
00036 #define EXIT_ERROR 21           /* user error */
00037 #define EXIT_NOTPOSSIBLE 22     /* request not executable */
00038 #define EXIT_USER_ABORT 23      /* user requested abort */
00039 
00040 /* end of file */

Generated on Fri Feb 20 15:17:49 2004 for PPR Libraries by doxygen 1.3.5