s3: re-run make samba3-idl.
[amitay/samba.git] / librpc / gen_ndr / svcctl.h
index c36f5781017ac6e71e1776d00c4e716efb75f257..c3914e5671e333bba2e8cc318d0838024c7926ce 100644 (file)
@@ -33,9 +33,44 @@ struct SERVICE_LOCK_STATUS {
        uint32_t lock_duration;
 };
 
+enum svcctl_ServiceStatus
+#ifndef USE_UINT_ENUMS
+ {
+       SVCCTL_STATE_UNKNOWN=0x00000000,
+       SVCCTL_STOPPED=0x00000001,
+       SVCCTL_START_PENDING=0x00000002,
+       SVCCTL_STOP_PENDING=0x00000003,
+       SVCCTL_RUNNING=0x00000004,
+       SVCCTL_CONTINUE_PENDING=0x00000005,
+       SVCCTL_PAUSE_PENDING=0x00000006,
+       SVCCTL_PAUSED=0x00000007
+}
+#else
+ { __donnot_use_enum_svcctl_ServiceStatus=0x7FFFFFFF}
+#define SVCCTL_STATE_UNKNOWN ( 0x00000000 )
+#define SVCCTL_STOPPED ( 0x00000001 )
+#define SVCCTL_START_PENDING ( 0x00000002 )
+#define SVCCTL_STOP_PENDING ( 0x00000003 )
+#define SVCCTL_RUNNING ( 0x00000004 )
+#define SVCCTL_CONTINUE_PENDING ( 0x00000005 )
+#define SVCCTL_PAUSE_PENDING ( 0x00000006 )
+#define SVCCTL_PAUSED ( 0x00000007 )
+#endif
+;
+
+/* bitmap svcctl_ControlsAccepted */
+#define SVCCTL_ACCEPT_NONE ( 0x00000000 )
+#define SVCCTL_ACCEPT_STOP ( 0x00000001 )
+#define SVCCTL_ACCEPT_PAUSE_CONTINUE ( 0x00000002 )
+#define SVCCTL_ACCEPT_SHUTDOWN ( 0x00000004 )
+#define SVCCTL_ACCEPT_PARAMCHANGE ( 0x00000008 )
+#define SVCCTL_ACCEPT_NETBINDCHANGE ( 0x00000010 )
+#define SVCCTL_ACCEPT_HARDWAREPROFILECHANGE ( 0x00000020 )
+#define SVCCTL_ACCEPT_POWEREVENT ( 0x00000040 )
+
 struct SERVICE_STATUS {
        uint32_t type;
-       uint32_t state;
+       enum svcctl_ServiceStatus state;
        uint32_t controls_accepted;
        WERROR win32_exit_code;
        uint32_t service_exit_code;