diff options
author | Simo Sorce <idra@samba.org> | 2010-04-28 18:55:20 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-27 10:27:12 -0400 |
commit | 38d6274864ebb4d31333946379496d67745cd3c5 (patch) | |
tree | a4db449076a6d100f788e2839506cc7ea70a3381 /source3/include/printing.h | |
parent | 8d44b11c6bf90f4698e472b46d4f47a136b960ba (diff) | |
download | samba-38d6274864ebb4d31333946379496d67745cd3c5.tar.gz samba-38d6274864ebb4d31333946379496d67745cd3c5.tar.bz2 samba-38d6274864ebb4d31333946379496d67745cd3c5.zip |
s3-smbd: Added code to print via spoolss.
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r-- | source3/include/printing.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h index ac2ee05a93..34fbd58223 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -100,4 +100,16 @@ struct tdb_print_db { #define NOTIFY_PID_LIST_KEY "NOTIFY_PID_LIST" +NTSTATUS print_spool_open(files_struct *fsp, + const char *fname, + uint16_t current_vuid); + +int print_spool_write(files_struct *fsp, const char *data, uint32_t size, + SMB_OFF_T offset, uint32_t *written); + +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); + #endif /* PRINTING_H_ */ |