summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-06 07:00:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:27 -0500
commit5204a551be755dc7cc6aa03e840395435fe60d68 (patch)
treeedb2cc870016e0add096e19940db9dcd8f5ae841 /source4/librpc
parent9c9404e63898197b3d8a6ca1df608096318f0d05 (diff)
downloadsamba-5204a551be755dc7cc6aa03e840395435fe60d68.tar.gz
samba-5204a551be755dc7cc6aa03e840395435fe60d68.tar.bz2
samba-5204a551be755dc7cc6aa03e840395435fe60d68.zip
r4554: create svcctl_ServerType bitmap
metze (This used to be commit ed1c98cb9d1adbc2616cb26376927c6dee1b579b)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/svcctl.idl63
1 files changed, 33 insertions, 30 deletions
diff --git a/source4/librpc/idl/svcctl.idl b/source4/librpc/idl/svcctl.idl
index 4910b1f0b9..fec7f45737 100644
--- a/source4/librpc/idl/svcctl.idl
+++ b/source4/librpc/idl/svcctl.idl
@@ -46,36 +46,39 @@
const int SERVICE_STATE_INACTIVE = 0x02;
const int SERVICE_STATE_ALL = 0x00;
- const int SV_TYPE_WORKSTATION = 0x00000001;
- const int SV_TYPE_SERVER = 0x00000002;
- const int SV_TYPE_SQLSERVER = 0x00000004;
- const int SV_TYPE_DOMAIN_CTRL = 0x00000008;
- const int SV_TYPE_DOMAIN_BAKCTRL = 0x00000010;
- const int SV_TYPE_TIME_SOURCE = 0x00000020;
- const int SV_TYPE_AFP = 0x00000040;
- const int SV_TYPE_NOVELL = 0x00000080;
-
- const int SV_TYPE_DOMAIN_MEMBER = 0x00000100;
- const int SV_TYPE_PRINTQ_SERVER = 0x00000200;
- const int SV_TYPE_DIALIN_SERVER = 0x00000400;
- const int SV_TYPE_SERVER_UNIX = 0x00000800;
- const int SV_TYPE_NT = 0x00001000;
- const int SV_TYPE_WFW = 0x00002000;
- const int SV_TYPE_SERVER_MFPN = 0x00004000;
- const int SV_TYPE_SERVER_NT = 0x00008000;
- const int SV_TYPE_POTENTIAL_BROWSER = 0x00010000;
- const int SV_TYPE_BACKUP_BROWSER = 0x00020000;
- const int SV_TYPE_MASTER_BROWSER = 0x00040000;
- const int SV_TYPE_DOMAIN_MASTER = 0x00080000;
- const int SV_TYPE_SERVER_OSF = 0x00100000;
- const int SV_TYPE_SERVER_VMS = 0x00200000;
- const int SV_TYPE_WIN95_PLUS = 0x00400000;
- const int SV_TYPE_DFS_SERVER = 0x00800000;
- const int SV_TYPE_ALTERNATE_XPORT = 0x20000000;
- const int SV_TYPE_LOCAL_LIST_ONLY = 0x40000000;
- const int SV_TYPE_DOMAIN_ENUM = 0x80000000;
- const int SV_TYPE_ALL = 0xFFFFFFFF;
-
+ typedef [public] bitmap {
+ SV_TYPE_WORKSTATION = 0x00000001,
+ SV_TYPE_SERVER = 0x00000002,
+ SV_TYPE_SQLSERVER = 0x00000004,
+ SV_TYPE_DOMAIN_CTRL = 0x00000008,
+ SV_TYPE_DOMAIN_BAKCTRL = 0x00000010,
+ SV_TYPE_TIME_SOURCE = 0x00000020,
+ SV_TYPE_AFP = 0x00000040,
+ SV_TYPE_NOVELL = 0x00000080,
+
+ SV_TYPE_DOMAIN_MEMBER = 0x00000100,
+ SV_TYPE_PRINTQ_SERVER = 0x00000200,
+ SV_TYPE_DIALIN_SERVER = 0x00000400,
+ SV_TYPE_SERVER_UNIX = 0x00000800,
+ SV_TYPE_NT = 0x00001000,
+ SV_TYPE_WFW = 0x00002000,
+ SV_TYPE_SERVER_MFPN = 0x00004000,
+ SV_TYPE_SERVER_NT = 0x00008000,
+ SV_TYPE_POTENTIAL_BROWSER = 0x00010000,
+ SV_TYPE_BACKUP_BROWSER = 0x00020000,
+ SV_TYPE_MASTER_BROWSER = 0x00040000,
+ SV_TYPE_DOMAIN_MASTER = 0x00080000,
+ SV_TYPE_SERVER_OSF = 0x00100000,
+ SV_TYPE_SERVER_VMS = 0x00200000,
+ SV_TYPE_WIN95_PLUS = 0x00400000,
+ SV_TYPE_DFS_SERVER = 0x00800000,
+ SV_TYPE_ALTERNATE_XPORT = 0x20000000,
+ SV_TYPE_LOCAL_LIST_ONLY = 0x40000000,
+ SV_TYPE_DOMAIN_ENUM = 0x80000000
+ } svcctl_ServerType;
+
+ const uint32 SV_TYPE_ALL = 0xFFFFFFFF;
+
/*****************/
/* Function 0x00 */
uint32 svcctl_CloseServiceHandle(