diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 09:42:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 09:42:51 +0000 |
commit | 6760e69a68571e01ee57b959193a56278962a23c (patch) | |
tree | cab4036d3fcb04cd2ab1ee3ab1eedcd3a1fd2b79 /source3/include/client.h | |
parent | ce843e9735742626bb03cbea61041fff5d215930 (diff) | |
download | samba-6760e69a68571e01ee57b959193a56278962a23c.tar.gz samba-6760e69a68571e01ee57b959193a56278962a23c.tar.xz samba-6760e69a68571e01ee57b959193a56278962a23c.zip |
added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
(This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 79fb96dad2..495780cbaa 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -25,8 +25,9 @@ #define _CLIENT_H /* the client asks for a smaller buffer to save ram and also to get more - overlap on the wire */ -#define CLI_BUFFER_SIZE (0x4000) + overlap on the wire. This size gives us a nice read/write size, which + will be a multiple of the page size on almost any system */ +#define CLI_BUFFER_SIZE (0x4400) /* * These definitions depend on smb.h @@ -45,6 +46,16 @@ typedef struct file_info pstring name; } file_info; +struct print_job_info +{ + uint16 id; + uint16 priority; + size_t size; + fstring user; + fstring name; + time_t t; +}; + struct pwd_info { BOOL null_pwd; |