1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:printing: add print_spool_rap_jobid()

metze
This commit is contained in:
Stefan Metzmacher 2012-06-05 08:29:56 +02:00
parent 6d2d8f5444
commit d1d7904182
2 changed files with 10 additions and 0 deletions

View File

@ -185,6 +185,7 @@ void print_spool_end(files_struct *fsp, enum file_close_type close_type);
void print_spool_terminate(struct connection_struct *conn,
struct print_file_data *print_file);
uint16_t print_spool_rap_jobid(struct print_file_data *print_file);
/* The following definitions come from printing/printing.c */

View File

@ -34,6 +34,15 @@ struct print_file_data {
uint16 rap_jobid;
};
uint16_t print_spool_rap_jobid(struct print_file_data *print_file)
{
if (print_file == NULL) {
return 0;
}
return print_file->rap_jobid;
}
void print_spool_terminate(struct connection_struct *conn,
struct print_file_data *print_file);