diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-03-13 19:34:04 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-03-13 19:34:04 +0000 |
commit | 4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409 (patch) | |
tree | 32d1743cb75c1e72f589defe9298d393578a6c93 /source/include | |
parent | b5a489fbb808cc7c8ff2338344ef2dae8e351e44 (diff) | |
download | samba-4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409.tar.gz |
oops ! forgot smb.h in last commit
added info level 1 parsing code for addprinter(ex)
J.F.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/proto.h | 1 | ||||
-rwxr-xr-x | source/include/rpc_spoolss.h | 12 | ||||
-rw-r--r-- | source/include/smb.h | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 1d8bf770208..d96d2f77c0b 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -2429,6 +2429,7 @@ BOOL spoolss_io_q_enumforms(char *desc, SPOOL_Q_ENUMFORMS *q_u, prs_struct *ps, BOOL new_spoolss_io_r_enumforms(char *desc, SPOOL_R_ENUMFORMS *r_u, prs_struct *ps, int depth); BOOL new_spoolss_io_r_enumports(char *desc, SPOOL_R_ENUMPORTS *r_u, prs_struct *ps, int depth); BOOL spoolss_io_q_enumports(char *desc, SPOOL_Q_ENUMPORTS *q_u, prs_struct *ps, int depth); +BOOL spool_io_printer_info_level_1(char *desc, SPOOL_PRINTER_INFO_LEVEL_1 *il, prs_struct *ps, int depth); BOOL spool_io_printer_info_level_2(char *desc, SPOOL_PRINTER_INFO_LEVEL_2 *il, prs_struct *ps, int depth); BOOL spool_io_printer_info_level(char *desc, SPOOL_PRINTER_INFO_LEVEL *il, prs_struct *ps, int depth); BOOL spoolss_io_q_addprinterex(char *desc, SPOOL_Q_ADDPRINTEREX *q_u, prs_struct *ps, int depth); diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h index aef9afd5905..0777a602b12 100755 --- a/source/include/rpc_spoolss.h +++ b/source/include/rpc_spoolss.h @@ -1192,6 +1192,17 @@ typedef struct spool_r_enumforms SPOOL_R_ENUMFORMS; +typedef struct spool_printer_info_level_1 +{ + uint32 flags; + uint32 description_ptr; + uint32 name_ptr; + uint32 comment_ptr; + UNISTR2 description; + UNISTR2 name; + UNISTR2 comment; +} SPOOL_PRINTER_INFO_LEVEL_1; + typedef struct spool_printer_info_level_2 { uint32 servername_ptr; @@ -1234,6 +1245,7 @@ typedef struct spool_printer_info_level { uint32 level; uint32 info_ptr; + SPOOL_PRINTER_INFO_LEVEL_1 *info_1; SPOOL_PRINTER_INFO_LEVEL_2 *info_2; } SPOOL_PRINTER_INFO_LEVEL; diff --git a/source/include/smb.h b/source/include/smb.h index a179a7808ea..6da6fc67e8c 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -171,6 +171,7 @@ implemented */ #define ERRbaddirectory 267 /* Invalid directory name in a path. */ #define ERRunknownipc 2142 +#define ERROR_ACCESS_DENIED (5) #define ERROR_INVALID_PARAMETER (87) #define ERROR_INSUFFICIENT_BUFFER (122) #define ERROR_INVALID_NAME (123) |