From 4a8d042afa41510b557e13b2aafcff611a137f28 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 30 Jun 2010 15:11:41 -0400 Subject: s3-spoolss: Move Printer_entry to srv_spoolss_nt.c It is used only there, and it is a good idea to make this one private and opaque to the rest of the code. Signed-off-by: Andreas Schneider --- source3/include/nt_printing.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'source3/include/nt_printing.h') diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index f56ddcbf67..52b11fe762 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -162,46 +162,6 @@ typedef struct { #define SPLHND_PORTMON_TCP 3 #define SPLHND_PORTMON_LOCAL 4 -/* structure to store the printer handles */ -/* and a reference to what it's pointing to */ -/* and the notify info asked about */ -/* that's the central struct */ -typedef struct _Printer{ - struct _Printer *prev, *next; - bool document_started; - bool page_started; - uint32 jobid; /* jobid in printing backend */ - int printer_type; - fstring servername; - fstring sharename; - uint32 type; - uint32 access_granted; - struct { - uint32 flags; - uint32 options; - fstring localmachine; - uint32 printerlocal; - struct spoolss_NotifyOption *option; - struct policy_handle client_hnd; - bool client_connected; - uint32 change; - /* are we in a FindNextPrinterChangeNotify() call? */ - bool fnpcn; - struct messaging_context *msg_ctx; - } notify; - struct { - fstring machine; - fstring user; - } client; - - /* devmode sent in the OpenPrinter() call */ - struct spoolss_DeviceMode *devmode; - - /* TODO cache the printer info2 structure */ - struct spoolss_PrinterInfo2 *info2; - -} Printer_entry; - /* * The printer attributes. * I #defined all of them (grabbed form MSDN) -- cgit