79 lines
3.0 KiB
C
79 lines
3.0 KiB
C
/* queuedef.h 09-Aug-97 */
|
|
|
|
#ifndef _QUEUEDEF_H_
|
|
#define _QUEUEDEF_H_
|
|
typedef struct {
|
|
uint8 record_in_use[2];
|
|
uint8 record_previous[4];
|
|
uint8 record_next[4];
|
|
|
|
uint8 client_connection[4]; /* Lo-Hi */
|
|
uint8 client_task[4]; /* Lo-Hi */
|
|
uint8 client_id[4]; /* Hi-Lo */
|
|
|
|
uint8 target_id[4]; /* 0xff, 0xff, 0xff, 0xff */
|
|
uint8 target_execute_time[6]; /* all 0xff */
|
|
uint8 job_entry_time[6]; /* all zero */
|
|
uint8 job_id[4]; /* Hi-Lo */
|
|
uint8 job_typ[2]; /* Hi-Lo */
|
|
uint8 job_position[2]; /* Lo-Hi, e.g. 0x01, 0x00 */
|
|
uint8 job_control_flags[2]; /* Lo-Hi, e.g. 0x10, 0x00 */
|
|
/* 0x80 operator hold flag */
|
|
/* 0x40 user hold flag */
|
|
/* 0x20 entry open flag */
|
|
/* 0x10 service restart flag */
|
|
/* 0x08 autostart flag */
|
|
|
|
uint8 job_file_name[14]; /* len + DOS filename */
|
|
uint8 job_file_handle[4];
|
|
uint8 server_station[4];
|
|
uint8 server_task[4];
|
|
uint8 server_id[4];
|
|
/* offset 78 */
|
|
uint8 job_description[50]; /* "LPT1 Catch" */
|
|
uint8 client_area[152];
|
|
} QUEUE_JOB;
|
|
|
|
typedef struct {
|
|
uint8 client_connection;
|
|
uint8 client_task;
|
|
uint8 client_id[4];
|
|
uint8 target_id[4]; /* 0xff, 0xff, 0xff, 0xff */
|
|
uint8 target_execute_time[6]; /* all 0xff */
|
|
uint8 job_entry_time[6]; /* all zero */
|
|
uint8 job_id[2]; /* Hi-Lo */
|
|
uint8 job_typ[2]; /* Hi-Lo */
|
|
uint8 job_position; /* zero */
|
|
uint8 job_control_flags;
|
|
/* 0x80 operator hold flag */
|
|
/* 0x40 user hold flag */
|
|
/* 0x20 entry open flag */
|
|
/* 0x10 service restart flag */
|
|
/* 0x08 autostart flag */
|
|
|
|
uint8 job_file_name[14]; /* len + DOS filename */
|
|
uint8 job_file_handle[6];
|
|
uint8 server_station;
|
|
uint8 server_task;
|
|
uint8 server_id[4];
|
|
/* offset 54 */
|
|
uint8 job_description[50]; /* "LPT1 Catch" */
|
|
uint8 client_area[152];
|
|
} QUEUE_JOB_OLD; /* before 3.11 */
|
|
|
|
typedef struct {
|
|
uint8 version; /* normal 0x0 */
|
|
uint8 tabsize; /* normal 0x8 */
|
|
uint8 count_copies[2]; /* copies 0x0, 0x01 */
|
|
uint8 print_flags[2]; /* 0x0, 0xc0 e.g. with banner */
|
|
uint8 max_lines[2]; /* 0x0, 0x42 */
|
|
uint8 max_chars[2]; /* 0x0, 0x84 */
|
|
uint8 form_name[16]; /* "UNKNOWN" */
|
|
uint8 reserved[6]; /* all zero */
|
|
uint8 banner_user_name[13]; /* "SUPERVISOR" */
|
|
uint8 banner_file_name[13]; /* "LST:" */
|
|
uint8 banner_header_file_name[14]; /* all zero */
|
|
uint8 file_path_name[80]; /* all zero */
|
|
} QUEUE_PRINT_AREA;
|
|
#endif
|