/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:spooljob.h 12.0$ */
/* $ACIS:spooljob.h 12.0$ */
/* $Source: /ibm/acis/usr/src/ibm/lpfilter/tools/RCS/spooljob.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidspooljob = "$Header:spooljob.h 12.0$";
#endif

/***===================================================================***/

#ifdef DEBUG_UTILS
extern u_debug_arg debug_args[];
#endif /* ifdef DEBUG_UTILS */

/***===================================================================***/

typedef struct DLANG {
    			char   *sj_tname;
			FILE *(*sj_input)();
			FILE *(*sj_output)();
			int   (*sj_init)();
			int   (*sj_main)();
			int   (*sj_cleanup)();
			int   (*sj_cancel)();
		     } sj_jobtype;

extern sj_jobtype  sj_types[];

#define SJ_ENVNAME	"@3812printjob"
#define SJ_ENVTOKENS	"(),=\"\"\\"
#define SJ_ENVFLAGS	ENV_FOLDDOWN
#ifndef SJ_DFLT_ERROR_LEVEL
#define SJ_DFLT_ERROR_LEVEL	"error"
#endif

#define SJ_EXIT		0x01
#define SJ_EXIT_PENDING	0x02
#define SJ_IGNORE	0x04
