summaryrefslogtreecommitdiff
path: root/source4/rpc_server/spoolss/dcesrv_spoolss.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-02-22 11:51:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:52 -0500
commitd900aed90c6383e9db6a0a51071c3c8622a53ba6 (patch)
treee6cdb9f93b962d8a4a88ce05855e357e7cd8b79a /source4/rpc_server/spoolss/dcesrv_spoolss.h
parentc13baabc91daef3c7e38f753f87caae117b3adcd (diff)
downloadsamba-d900aed90c6383e9db6a0a51071c3c8622a53ba6.tar.gz
samba-d900aed90c6383e9db6a0a51071c3c8622a53ba6.tar.bz2
samba-d900aed90c6383e9db6a0a51071c3c8622a53ba6.zip
r5503: - add torture test which tests for invalid printernames
- add OpenPrinter() server code that just calls OpenPrinterEx() - fix OpenPrinterEx logic, we pass the invalid printer names test now metze (This used to be commit 3085d3728eaf76097319f648ab4bc7f9447bbe10)
Diffstat (limited to 'source4/rpc_server/spoolss/dcesrv_spoolss.h')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.h b/source4/rpc_server/spoolss/dcesrv_spoolss.h
index aef13dd6d6..3375ff3d9c 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.h
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.h
@@ -23,7 +23,7 @@
/*
this type allows us to distinguish handle types
*/
-enum spoolss_handle {
+enum spoolss_handle_type {
SPOOLSS_HANDLE_SERVER,
SPOOLSS_HANDLE_PRINTER
};
@@ -31,7 +31,7 @@ enum spoolss_handle {
/*
state asscoiated with a spoolss_OpenPrinter{,Ex}() operation
*/
-struct spoolss_openprinter_state {
- void *openprinter_ctx;
+struct spoolss_handle_server {
+ enum spoolss_handle_type handle_type;
uint32_t access_mask;
};