Changeset 751 for trunk/server/source3/include/printing.h
- Timestamp:
- Nov 29, 2012, 1:59:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/include/printing.h
r745 r751 47 47 48 48 typedef struct _print_queue_struct { 49 int job; /* normally the UNIX jobid -- see note in49 int sysjob; /* normally the UNIX jobid -- see note in 50 50 printing.c:traverse_fn_delete() */ 51 51 int size; … … 69 69 struct printjob { 70 70 pid_t pid; /* which process launched the job */ 71 uint32_t jobid; /* the spoolss print job identifier */ 71 72 int sysjob; /* the system (lp) job number */ 72 73 int fd; /* file descriptor of open file if open */ … … 101 102 int (*job_pause)(int snum, struct printjob *pjob); 102 103 int (*job_resume)(int snum, struct printjob *pjob); 103 int (*job_submit)(int snum, struct printjob *pjob); 104 int (*job_submit)(int snum, struct printjob *pjob, 105 enum printing_types printing_type, 106 char *lpq_command); 104 107 }; 105 108 … … 124 127 #define PRINT_SPOOL_PREFIX "smbprn." 125 128 #endif 126 #define PRINT_DATABASE_VERSION 7129 #define PRINT_DATABASE_VERSION 8 127 130 128 131 #ifdef AIX … … 195 198 bool print_notify_deregister_pid(int snum); 196 199 bool print_job_exists(const char* sharename, uint32 jobid); 197 char *print_job_fname(const char* sharename, uint32 jobid); 198 struct spoolss_DeviceMode *print_job_devmode(const char* sharename, uint32 jobid); 200 struct spoolss_DeviceMode *print_job_devmode(TALLOC_CTX *mem_ctx, 201 const char *sharename, 202 uint32 jobid); 199 203 bool print_job_set_name(struct tevent_context *ev, 200 204 struct messaging_context *msg_ctx, … … 204 208 struct messaging_context *msg_ctx, 205 209 int snum, uint32_t jobid); 206 boolprint_job_pause(const struct auth_serversupplied_info *server_info,210 WERROR print_job_pause(const struct auth_serversupplied_info *server_info, 207 211 struct messaging_context *msg_ctx, 208 int snum, uint32 jobid , WERROR *errcode);209 boolprint_job_resume(const struct auth_serversupplied_info *server_info,212 int snum, uint32 jobid); 213 WERROR print_job_resume(const struct auth_serversupplied_info *server_info, 210 214 struct messaging_context *msg_ctx, 211 int snum, uint32 jobid , WERROR *errcode);215 int snum, uint32 jobid); 212 216 ssize_t print_job_write(struct tevent_context *ev, 213 217 struct messaging_context *msg_ctx, … … 246 250 print_queue_struct *buf, 247 251 print_status_struct *status,bool first); 248 uint32_t print_parse_jobid(const char *fname);249 252 250 253 /* The following definitions come from printing/printing_db.c */
Note:
See TracChangeset
for help on using the changeset viewer.