1 /***************************************************************************
2  * LPRng - An Extended Print Spooler System
3  *
4  * Copyright 1988-2003, Patrick Powell, San Diego, CA
5  *     papowell@lprng.com
6  * See LICENSE for conditions of use.
7  ***************************************************************************/
8 
9 
10 
11 #ifndef _LPD_RCVJOB_H_
12 #define _LPD_RCVJOB_H_ 1
13 
14 /* PROTOTYPES */
15 int Receive_job( int *sock, char *input );
16 int Receive_block_job( int *sock, char *input );
17 int Scan_block_file( int fd, char *error, int errlen, struct line_list *header_info );
18 int Check_space( double jobsize, int min_space, char *pathname );
19 int Check_for_missing_files( struct job *job, struct line_list *files,
20 	char *error, int errlen, struct line_list *header_info, int holdfile_fd );
21 int Setup_temporary_job_ticket_file( struct job *job, char *filename,
22 	int read_control_file,
23 	char *cf_file_image,
24 	char *error, int errlen  );
25 
26 #endif
27