r5503: - add torture test which tests for invalid printernames
[samba.git] / source4 / rpc_server / spoolss / dcesrv_spoolss.h
index aef13dd6d6f22552fb80a3a8c30d03d5e499cbc4..3375ff3d9c61b9a8fe44963e62934ac8df5a8ff6 100644 (file)
@@ -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;
 };