Main Page | Data Structures | File List | Globals

include/ppr_exits.h

00001 /*
00002 ** mouse:~ppr/src/include/ppr_exits.h
00003 ** Copyright 1995--2001 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 and documentation are provided "as is"
00011 ** without express or implied warranty.
00012 **
00013 ** Last modified 4 September 2001.
00014 */
00015 
00016 /*
00017 ** Exit codes for the ppr utility.  These are of interest not only
00018 ** to the parts of ppr which must exit with these codes but also
00019 ** to program such as papsrv and lprsrv which invoke ppr.
00020 */
00021 
00022 #define PPREXIT_OK 0                    /* normal exit */
00023 #define PPREXIT_NOCHARGEACCT 1          /* failed to find charge account */
00024 #define PPREXIT_BADAUTH 2               /* wrong authcode */
00025 #define PPREXIT_OVERDRAWN 3             /* account is overdrawn */
00026 #define PPREXIT_NONCONFORMING 4         /* bad DSC, can't count pages */
00027 #define PPREXIT_DISKFULL 5              /* Disk got full */
00028 #define PPREXIT_BADHEADER 6             /* unterminated dot or PJL header */
00029 #define PPREXIT_TRUNCATED 7             /* Input file had no %%EOF */
00030 #define PPREXIT_NOMATCH 8               /* media couldn't be matched */
00031 #define PPREXIT_ACL 9                   /* ACL forbids */
00032 #define PPREXIT_NOFILTER 10             /* proper filter not available */
00033 #define PPREXIT_NOSPOOLER 11            /* spooler not running */
00034 #define PPREXIT_OTHERERR 12             /* other internal error */
00035 #define PPREXIT_CONFIG 13               /* ppr.conf problem */
00036 
00037 #define PPREXIT_SYNTAX 20               /* invokation syntax error */
00038 #define PPREXIT_NOTPOSSIBLE 22          /* request not executable */
00039 
00040 #define PPREXIT_KILLED 30               /* received a fatal signal */
00041 
00042 /* end of file */

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