#ifndef DK4LPRNG_H_INCLUDED /** Protection against multiple inclusion. */ #define DK4LPRNG_H_INCLUDED 1 /** @file dk4lprng.h Constant values related to LPRng. */ /** Exit status codes defined by the LPRng print system. */ enum { /** Success. */ LPRNG_EXIT_SUCCESS = 0 , /** Transient error condition, retry later. */ LPRNG_EXIT_FAILURE = 1 , /* alternative: 32 */ /** Abort, terminate queue processing. Unprocessable print data found, remove job from queue. */ LPRNG_EXIT_ABORT = 2 , /* alternative: 33 */ /** Unrecoverable error, remove job from queue. Use for permission and quota problems. */ LPRNG_EXIT_REMOVE = 3 , /* alternative: 34 */ /** Hold job for later processing. Typically used if resources are not available. */ LPRNG_EXIT_HOLD = 6 , /* alternative: 37 */ /** No spooling to this queue. Used by load balancing. */ LPRNG_EXIT_NOSPOOL = 7 , /* alternative: 38 */ /** No printing from this queue. Used by load balancing. */ LPRNG_EXIT_NOPRINT = 8 , /* alternative: 39 */ /** Interrupted by signal. Signal or non-restartable system failure. */ LPRNG_EXIT_SIGNAL = 9 , /* alternative: 40 */ /** Failed, do not retry. */ LPRNG_EXIT_FAILNOR = 10, /* alternative: 41 */ }; /** As long as we have not changed printqd we need the job name in accounting. */ #define ACCOUNTING_WITH_JOB_NAME 1 #endif