s3-spoolss: move PRINTER_ATTRIBUTE_SAMBA to printing backend, where they belong.
authorGünther Deschner <gd@samba.org>
Tue, 17 Mar 2009 11:48:46 +0000 (12:48 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 17 Mar 2009 17:39:10 +0000 (18:39 +0100)
Guenther

source3/include/nt_printing.h
source3/include/rpc_spoolss.h

index 43fd363b55486398492941218c5b31ffb5d7fff2..7346679b716cd0487a901c5d2ca44e38fbfbac9e 100644 (file)
@@ -459,4 +459,17 @@ typedef struct _Printer{
        
 } Printer_entry;
 
+/*
+ * The printer attributes.
+ * I #defined all of them (grabbed form MSDN)
+ * I'm only using:
+ * ( SHARED | NETWORK | RAW_ONLY )
+ * RAW_ONLY _MUST_ be present otherwise NT will send an EMF file
+ */
+
+#define PRINTER_ATTRIBUTE_SAMBA                        (PRINTER_ATTRIBUTE_RAW_ONLY|\
+                                                PRINTER_ATTRIBUTE_SHARED|\
+                                                PRINTER_ATTRIBUTE_LOCAL)
+#define PRINTER_ATTRIBUTE_NOT_SAMBA            (PRINTER_ATTRIBUTE_NETWORK)
+
 #endif /* NT_PRINTING_H_ */
index a91abefd8c27a0a0e0f8d112e201a54e822e2780..0d98afba251d3643999d1ab8eda4980dd4b1d379 100644 (file)
 #define JOB_NOTIFY_TOTAL_BYTES                 0x16
 #define JOB_NOTIFY_BYTES_PRINTED               0x17
 
-/*
- * The printer attributes.
- * I #defined all of them (grabbed form MSDN)
- * I'm only using:
- * ( SHARED | NETWORK | RAW_ONLY )
- * RAW_ONLY _MUST_ be present otherwise NT will send an EMF file
- */
-
-#define PRINTER_ATTRIBUTE_SAMBA                        (PRINTER_ATTRIBUTE_RAW_ONLY|\
-                                                PRINTER_ATTRIBUTE_SHARED|\
-                                                PRINTER_ATTRIBUTE_LOCAL)
-#define PRINTER_ATTRIBUTE_NOT_SAMBA            (PRINTER_ATTRIBUTE_NETWORK)
-
 #define NO_PRIORITY     0
 #define MAX_PRIORITY   99
 #define MIN_PRIORITY    1