Searched refs:job (Results 1 - 25 of 83) sorted by relevance

1234

/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/include/
H A Dsendjob.h16 int Send_job( struct job *job, struct job *logjob,
19 int Send_normal( int *sock, struct job *job, struct job *logjob,
21 int Send_control( int *sock, struct job *job, struct job *logjob, int transfer_timeout,
23 int Send_data_files( int *sock, struct job *jo
[all...]
H A Daccounting.h16 int Do_accounting( int end, char *command, struct job *job, int timeout );
H A Dsendmail.h16 void Sendmail_to_user( int retval, struct job *job );
H A Dlpd_rcvjob.h21 int Do_perm_check( struct job *job, char *error, int errlen );
22 int Check_for_missing_files( struct job *job, struct line_list *files,
24 int Set_up_temporary_hold_file( struct job *job,
26 int Find_non_colliding_job_number( struct job *job );
27 int Get_route( struct job *job, cha
[all...]
H A Dsendauth.h17 struct job *job, struct job *logjob, char *error, int errlen, char *cmd,
20 struct job *job, char *error, int errlen );
H A Dlpd_jobs.h24 int Remote_job( struct job *job, int lpd_bounce, char *move_dest, char *id );
25 int Local_job( struct job *job, char *id );
30 int Decode_transfer_failure( int attempt, struct job *job );
31 void Update_status( struct job *job, int status );
32 int Check_print_perms( struct job *job );
[all...]
H A Duser_objs.h18 char *test_sort_key( struct job *job );
H A Dprintjob.h16 int Print_job( int output, int status_device, struct job *job,
20 struct job *job, char *id, int terminate_of,
22 void Print_banner( char *name, char *pgm, struct job *job );
23 int Write_outbuf_to_OF( struct job *job, char *title,
27 int Get_status_from_OF( struct job *job, cha
[all...]
H A Dgetqueue.h165 void Check_for_hold( struct job *job, struct line_list *spool_control );
166 void Setup_job( struct job *job, struct line_list *spool_control,
169 void Append_Z_value( struct job *job, char *s );
170 int Setup_cf_info( struct job *job, int check_for_existence );
171 char *Make_hf_image( struct job *job );
[all...]
H A Dlpd_remove.h22 int Remove_job( struct job *job );
H A Dlpr.h29 EXTERN int Lpr_zero_file_JOB; /* LPR does file filtering and job flattening */
30 EXTERN int Lpr_bounce_JOB; /* LPR does file filtering and job flattening */
40 EXTERN char * User_filter_JOB; /* User specified filter for job files */
52 int Make_job( struct job *job );
53 void get_job_number( struct job *job );
54 double Copy_STDIN( struct job *job );
55 double Check_files( struct job *jo
[all...]
H A Derrormsg.h96 void setstatus (struct job *job,char *fmt,...)
103 void setmessage (struct job *job,const char *header, char *fmt,...)
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/
H A Duser_objs.c64 * servers list. If you return or set it to -1, skip this job.
68 * if 0, then process job. (note: return value of 0 and use_subserver[0] == -1
69 * will skip the job.
70 * Nonzero - set job status to the value and update the job. Useful to
117 char *test_sort_key( struct job *job )
121 cmpstr = intval(DONE_TIME,&job->info,cmpstr);
123 cmpstr = intval(REMOVE_TIME,&job->info,cmpstr);
125 cmpstr = strzval(ERROR,&job
[all...]
H A Dsendjob.c30 * The protocol used to send a job to a remote RemoteHost_DYN consists of the
34 * \2RemotePrinter_DYNname\n - receive a job
50 * 1. In order to abort the job transfer, client sends \1
66 * struct jobfile *job, - control file
75 int Send_job( struct job *job, struct job *logjob, argument
90 if(DEBUGL1)Dump_job("Send_job- starting",job);
95 Set_str_value(&job->info,ERROR,0);
96 Set_flag_value(&job
274 Send_normal( int *sock, struct job *job, struct job *logjob, int transfer_timeout, int block_fd, char *final_filter ) argument
327 Send_control( int *sock, struct job *job, struct job *logjob, int transfer_timeout, int block_fd ) argument
435 Send_data_files( int *sock, struct job *job, struct job *logjob, int transfer_timeout, int block_fd, char *final_filter ) argument
627 Send_block( int *sock, struct job *job, struct job *logjob, int transfer_timeout ) argument
[all...]
H A Dgetqueue.c72 struct job job; local
75 Init_job( &job );
115 Free_job( &job );
121 &job.info, Line_ends, 1, Value_sep,1,1,1,0);
123 if(DEBUGL5)Dump_line_list("Scan_queue: hf", &job.info );
125 if( job.info.count == 0 ){
130 Setup_cf_info( &job, 1 );
131 Job_printable(&job,spool_control, &p,&h,&m,&e,&dn);
144 if(DEBUGL4)Dump_job("Scan_queue - before Make_sort_key",&job);
296 Check_for_hold( struct job *job, struct line_list *spool_control ) argument
322 Setup_job( struct job *job, struct line_list *spool_control, const char *cf_name, const char *hf_name, int check_for_existence ) argument
487 Append_Z_value( struct job *job, char *s ) argument
505 Setup_cf_info( struct job *job, int check_for_existence ) argument
696 Set_hold_file( struct job *job, struct line_list *perm_check, int fd ) argument
767 Get_hold_file( struct job *job, char *hf_name ) argument
899 strval( const char *key, struct line_list *list, struct job *job, int reverse ) argument
1389 Fix_job_number( struct job *job, int n ) argument
1466 Job_printable( struct job *job, struct line_list *spool_control, int *pprintable, int *pheld, int *pmove, int *perr, int *pdone ) argument
1643 Get_destination( struct job *job, int n ) argument
1668 Get_destination_by_name( struct job *job, char *name ) argument
1780 Fix_datafile_info( struct job *job, char *number, char *suffix, char *xlate_format ) argument
1951 Fix_control( struct job *job, char *filter, char *xlate_format ) argument
2184 Create_control( struct job *job, char *error, int errlen, char *xlate_format ) argument
[all...]
H A Dlpd_rcvjob.c39 * The protocol used to send a job to a remote host consists of the
43 * \2printername\n - receive a job
62 * 4. Read the job to the queue.
86 * as they are probably left over from another job.
97 * when the total received job size exceeds limits, then abort job
98 * when the available file space falls below limit, then abort job
111 double jobsize = 0; /* size of job */
123 struct job job; local
785 struct job job; local
986 Do_perm_check( struct job *job, char *error, int errlen ) argument
1042 Check_for_missing_files( struct job *job, struct line_list *files, char *error, int errlen, struct line_list *header_info, int *holdfile_fd ) argument
1271 Set_up_temporary_hold_file( struct job *job, char *error, int errlen ) argument
1350 Get_route( struct job *job, char *error, int errlen ) argument
[all...]
H A Dlpd_jobs.c57 * 2. Build the job queue
58 * 3. For each job in the job queue, service them.
86 * if( job does not need a server ) then
88 * update job status();
93 * if( pid is for server printing job)
94 * update job status();
125 * process then interprets. This error code is used to either remove the job
128 * Note that there are conditions under which a job cannot be removed.
367 * Do_queue_jobs: process the job queu
388 struct job job; local
1251 Remote_job( struct job *job, int lpd_bounce, char *move_dest, char *id ) argument
1453 Local_job( struct job *job, char *id ) argument
1630 struct job job; local
1845 Update_status( struct job *job, int status ) argument
2284 struct job job; local
2460 Printer_open( char *lp_device, int *status_fd, struct job *job, int max_attempts, int interval, int max_interval, int grace, int connect_tmout, int *filterpid, int *poll_for_status ) argument
2744 Filter_files_in_job( struct job *job, int outfd, char *user_filter ) argument
2985 struct job job; local
[all...]
H A Dlpd_remove.c38 * if we have control permissions, then we can remove any job.
40 * use the user name and/or job number to select them. When we have
163 struct job job; local
167 Init_job(&job);
246 Free_job(&job);
247 Get_hold_file(&job, Sort_order.list[count] );
250 DEBUGFC(DLPRM3)Dump_job("Get_queue_remove - info",&job);
252 if( tokens->count && Patselect( tokens, &job.info, 0) ){
256 /* get everything for the job no
[all...]
H A Dsendmail.c22 * sendmail --- tell people about job completion
28 void Sendmail_to_user( int retval, struct job *job )
38 id = Find_str_value(&job->info,IDENTIFIER,Value_sep);
39 if(!id) id = Find_str_value(&job->info,TRANSFERNAME,Value_sep);
40 mailname = Find_str_value(&job->info,MAILNAME,Value_sep);
74 setstatus( job, "sending mail to %s", msg );
81 "Subject: %s@%s job %s\n\n",
87 _("printer %s job %s"), Printer_DYN, id );
131 n = Filter_file( tempfd, -1, "MAIL", Sendmail_DYN, 0, job,
[all...]
H A Dprintjob.c31 * The following algorithm is used to print a job
38 * if the 'suspend_of_filter' flag is false or the 'end of job' flag
79 * struct job *job - job to print
80 * int timeout - timeout for job - 0 is no timeout
111 int Print_job( int output, int status_device, struct job *job, argument
160 if(DEBUGL2) Dump_job( "Print_job", job );
162 id = Find_str_value(&job
713 Run_OF_filter( int send_job_rw_timeout, int *of_pid, int *of_stdin, int *of_stderr, int output, char **outbuf, int *outmax, int *outlen, struct job *job, char *id, int terminate_of, char *msgbuffer, int msglen ) argument
1118 Write_outbuf_to_OF( struct job *job, char *title, int of_fd, char *buffer, int outlen, int of_error, char *msg, int msgmax, int timeout, int poll_for_status, char *status_file ) argument
1247 Get_status_from_OF( struct job *job, char *title, int of_pid, int of_error, char *msg, int msgmax, int timeout, int suspend, int max_wait, char *status_file ) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dcliprint.c92 struct print_job_info job; local
97 job.id = SVAL(p,0);
98 job.priority = SVAL(p,2);
99 fstrcpy(job.user,
102 job.t = make_unix_date3(p + 12);
103 job.size = IVAL(p,16);
104 fstrcpy(job.name,fix_char_ptr(SVAL(p,24),
107 fn(&job);
121 cancel a print job
123 int cli_printjob_del(struct cli_state *cli, int job) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/AUTHENTICATE/
H A Dsclient.c32 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg ){;} argument
156 void setstatus (struct job *job,char *fmt,...) argument
162 struct job *job; local
169 VA_SHIFT (job, struct job * );
185 void setmessage (struct job *job,cons argument
191 struct job *job; local
[all...]
H A Dsserver.c183 void setstatus (struct job *job,char *fmt,...) argument
189 struct job *job; local
196 VA_SHIFT (job, struct job * );
209 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg ){;} argument
212 void setmessage (struct job *job,cons argument
218 struct job *job; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dlash.c75 struct job *head; /* head of list of running jobs */
76 struct job *fg; /* current foreground job */
91 struct job *family; /* pointer back to the child's parent job */
94 struct job { struct
95 int jobid; /* job number */
96 int num_progs; /* total number of programs in job */
98 char *text; /* name of job */
100 pid_t pgrp; /* process group ID for the job */
275 struct job *job=NULL; local
352 struct job *job; local
531 remove_job(struct jobset *j_list, struct job *job) argument
557 struct job *job; local
946 parse_command(char **command_ptr, struct job *job, int *inbg) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/threadutil/src/
H A DThreadPool.c47 * void * - job A
48 * void * - job B
212 //If job has waited longer than the
233 //If job has waited longer than the
302 * Calculates the time the job has been waiting at the specified
310 * ThreadPoolJob *job
314 ThreadPoolJob * job ) {
318 assert( job != NULL );
320 diff = DiffMillis( &now, &job->requestTime ); switch ( p ) {
352 * Worker waits for a job t
365 ThreadPoolJob *job = NULL; local
547 CreateThreadPoolJob( ThreadPoolJob * job, int id, ThreadPool * tp ) argument
764 ThreadPoolAddPersistent( ThreadPool * tp, ThreadPoolJob * job, int *jobId ) argument
842 ThreadPoolAdd( ThreadPool * tp, ThreadPoolJob * job, int *jobId ) argument
1226 TPJobInit( ThreadPoolJob * job, start_routine func, void *arg ) argument
1255 TPJobSetPriority( ThreadPoolJob * job, ThreadPriority priority ) argument
1283 TPJobSetFreeFunction( ThreadPoolJob * job, free_routine func ) argument
[all...]

Completed in 102 milliseconds

1234