/* Spool.h - spooler */ #define NUL '\0' /* ASCII Null character */ /* Define the priorities at which the SPOOLER and PRTSPOOL tasks are to ** run: */ #define SPOOLER_PRIORITY 4 #define PRTSPOOL_PRIORITY (SPOOLER_PRIORITY-1) /* The message port names: */ #define SPOOL_ME "SPOOL system" #define GIMME_A_FILE "SPOOL output" #define LOGIN_PRINTER "SPOOL login" /* log_status codes */ #define LOG_IN '+' #define LOG_OUT '-' #define LOGGED 'X' /* The message structure - same for both message ports */ typedef struct { struct Message minfo; char log_status; char filename[128]; } SPOOLmsg; #define SHUTDOWN "-shutdown" /* end of spool.h */