diff options
Diffstat (limited to 'source4/rpc_server/spoolss/dcesrv_spoolss.h')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.h b/source4/rpc_server/spoolss/dcesrv_spoolss.h index 6697e2afaf..950c765a72 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.h +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.h @@ -23,7 +23,17 @@ /* this type allows us to distinguish handle types */ -enum samr_handle { +enum spoolss_handle { SPOOLSS_HANDLE_SERVER, SPOOLSS_HANDLE_PRINTER }; + +/* + state asscoiated with a spoolss_OpenPrinter{,Ex}() operation +*/ +struct spoolss_openprinter_state { + int reference_count; + void *openprinter_ctx; + TALLOC_CTX *mem_ctx; + uint32_t access_mask; +}; |