summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/gen_ndr/spoolss.h8
-rw-r--r--librpc/idl/spoolss.idl8
-rw-r--r--source3/printing/nt_printing.c8
3 files changed, 16 insertions, 8 deletions
diff --git a/librpc/gen_ndr/spoolss.h b/librpc/gen_ndr/spoolss.h
index abd8300d0e..a9f7aaf1e4 100644
--- a/librpc/gen_ndr/spoolss.h
+++ b/librpc/gen_ndr/spoolss.h
@@ -13,6 +13,14 @@
#define PRINTER_STATUS_OK ( 0x00000000 )
#define JOB_STATUS_QUEUED ( 0x0000 )
#define PRINTER_ENUM_ICONMASK ( (PRINTER_ENUM_ICON1|PRINTER_ENUM_ICON2|PRINTER_ENUM_ICON3|PRINTER_ENUM_ICON4|PRINTER_ENUM_ICON5|PRINTER_ENUM_ICON6|PRINTER_ENUM_ICON7|PRINTER_ENUM_ICON8) )
+#define SPL_ARCH_WIN40 ( "WIN40" )
+#define SPL_ARCH_W32X86 ( "W32X86" )
+#define SPL_ARCH_W32MIPS ( "W32MIPS" )
+#define SPL_ARCH_W32ALPHA ( "W32ALPHA" )
+#define SPL_ARCH_W32PPC ( "W32PPC" )
+#define SPL_ARCH_IA64 ( "IA64" )
+#define SPL_ARCH_X64 ( "x64" )
+#define SPOOLSS_ARCHITECTURE_ALL ( "all" )
#define SPOOLSS_ARCHITECTURE_NT_X86 ( "Windows NT x86" )
#define SPOOLSS_DEFAULT_SERVER_PATH ( "C:\\WINDOWS\\system32\\spool" )
#define SPL_LOCAL_PORT ( "Local Port" )
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index a8fd9d8365..f3064625a8 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1284,6 +1284,14 @@ import "misc.idl", "security.idl", "winreg.idl";
/******************/
/* Function: 0x1a */
+ const string SPL_ARCH_WIN40 = "WIN40";
+ const string SPL_ARCH_W32X86 = "W32X86";
+ const string SPL_ARCH_W32MIPS = "W32MIPS";
+ const string SPL_ARCH_W32ALPHA = "W32ALPHA";
+ const string SPL_ARCH_W32PPC = "W32PPC";
+ const string SPL_ARCH_IA64 = "IA64";
+ const string SPL_ARCH_X64 = "x64";
+
const string SPOOLSS_ARCHITECTURE_ALL = "all";
const string SPOOLSS_ARCHITECTURE_NT_X86 = "Windows NT x86";
const string SPOOLSS_DEFAULT_SERVER_PATH = "C:\\WINDOWS\\system32\\spool";
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index b6e7032ab8..17e3d40152 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -210,14 +210,6 @@ struct table_node {
int version;
};
-#define SPL_ARCH_WIN40 "WIN40"
-#define SPL_ARCH_W32X86 "W32X86"
-#define SPL_ARCH_W32MIPS "W32MIPS"
-#define SPL_ARCH_W32ALPHA "W32ALPHA"
-#define SPL_ARCH_W32PPC "W32PPC"
-#define SPL_ARCH_IA64 "IA64"
-#define SPL_ARCH_X64 "x64"
-
static const struct table_node archi_table[]= {
{"Windows 4.0", SPL_ARCH_WIN40, 0 },