diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
commit | 39971fff27f71b514308d10d7a2d8c3fb58c2420 (patch) | |
tree | 101f2adac9ef41af17579d22f6ddd56ada62ce5d /librpc/gen_ndr/svcctl.h | |
parent | 23676b6e9e8aad0ac2aa78d04e65f637b4551527 (diff) | |
parent | e71d9728f52e969e07927c5b38fa062c6ef6d1eb (diff) | |
download | samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.gz samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.bz2 samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.zip |
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'librpc/gen_ndr/svcctl.h')
-rw-r--r-- | librpc/gen_ndr/svcctl.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/librpc/gen_ndr/svcctl.h b/librpc/gen_ndr/svcctl.h index eb48fa0d4f..f047701ed5 100644 --- a/librpc/gen_ndr/svcctl.h +++ b/librpc/gen_ndr/svcctl.h @@ -39,14 +39,14 @@ struct SERVICE_LOCK_STATUS { 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 + SVCCTL_STATE_UNKNOWN=(int)(0x00000000), + SVCCTL_STOPPED=(int)(0x00000001), + SVCCTL_START_PENDING=(int)(0x00000002), + SVCCTL_STOP_PENDING=(int)(0x00000003), + SVCCTL_RUNNING=(int)(0x00000004), + SVCCTL_CONTINUE_PENDING=(int)(0x00000005), + SVCCTL_PAUSE_PENDING=(int)(0x00000006), + SVCCTL_PAUSED=(int)(0x00000007) } #else { __donnot_use_enum_svcctl_ServiceStatus=0x7FFFFFFF} @@ -130,11 +130,11 @@ struct ENUM_SERVICE_STATUSA { enum SERVICE_CONTROL #ifndef USE_UINT_ENUMS { - SVCCTL_CONTROL_STOP=0x00000001, - SVCCTL_CONTROL_PAUSE=0x00000002, - SVCCTL_CONTROL_CONTINUE=0x00000003, - SVCCTL_CONTROL_INTERROGATE=0x00000004, - SVCCTL_CONTROL_SHUTDOWN=0x00000005 + SVCCTL_CONTROL_STOP=(int)(0x00000001), + SVCCTL_CONTROL_PAUSE=(int)(0x00000002), + SVCCTL_CONTROL_CONTINUE=(int)(0x00000003), + SVCCTL_CONTROL_INTERROGATE=(int)(0x00000004), + SVCCTL_CONTROL_SHUTDOWN=(int)(0x00000005) } #else { __donnot_use_enum_SERVICE_CONTROL=0x7FFFFFFF} @@ -149,10 +149,10 @@ enum SERVICE_CONTROL enum svcctl_ErrorControl #ifndef USE_UINT_ENUMS { - SVCCTL_SVC_ERROR_IGNORE=0x00000000, - SVCCTL_SVC_ERROR_NORMAL=0x00000001, - SVCCTL_SVC_ERROR_CRITICAL=0x00000002, - SVCCTL_SVC_ERROR_SEVERE=0x00000003 + SVCCTL_SVC_ERROR_IGNORE=(int)(0x00000000), + SVCCTL_SVC_ERROR_NORMAL=(int)(0x00000001), + SVCCTL_SVC_ERROR_CRITICAL=(int)(0x00000002), + SVCCTL_SVC_ERROR_SEVERE=(int)(0x00000003) } #else { __donnot_use_enum_svcctl_ErrorControl=0x7FFFFFFF} @@ -166,11 +166,11 @@ enum svcctl_ErrorControl enum svcctl_StartType #ifndef USE_UINT_ENUMS { - SVCCTL_BOOT_START=0x00000000, - SVCCTL_SYSTEM_START=0x00000001, - SVCCTL_AUTO_START=0x00000002, - SVCCTL_DEMAND_START=0x00000003, - SVCCTL_DISABLED=0x00000004 + SVCCTL_BOOT_START=(int)(0x00000000), + SVCCTL_SYSTEM_START=(int)(0x00000001), + SVCCTL_AUTO_START=(int)(0x00000002), + SVCCTL_DEMAND_START=(int)(0x00000003), + SVCCTL_DISABLED=(int)(0x00000004) } #else { __donnot_use_enum_svcctl_StartType=0x7FFFFFFF} @@ -185,9 +185,9 @@ enum svcctl_StartType enum svcctl_ServiceState #ifndef USE_UINT_ENUMS { - SERVICE_STATE_ACTIVE=0x00000001, - SERVICE_STATE_INACTIVE=0x00000002, - SERVICE_STATE_ALL=(SERVICE_STATE_ACTIVE|SERVICE_STATE_INACTIVE) + SERVICE_STATE_ACTIVE=(int)(0x00000001), + SERVICE_STATE_INACTIVE=(int)(0x00000002), + SERVICE_STATE_ALL=(int)((SERVICE_STATE_ACTIVE|SERVICE_STATE_INACTIVE)) } #else { __donnot_use_enum_svcctl_ServiceState=0x7FFFFFFF} @@ -235,8 +235,8 @@ struct svcctl_ArgumentString { enum svcctl_ConfigLevel #ifndef USE_UINT_ENUMS { - SERVICE_CONFIG_DESCRIPTION=0x00000001, - SERVICE_CONFIG_FAILURE_ACTIONS=0x00000002 + SERVICE_CONFIG_DESCRIPTION=(int)(0x00000001), + SERVICE_CONFIG_FAILURE_ACTIONS=(int)(0x00000002) } #else { __donnot_use_enum_svcctl_ConfigLevel=0x7FFFFFFF} @@ -252,10 +252,10 @@ struct SERVICE_DESCRIPTION { enum SC_ACTION_TYPE #ifndef USE_UINT_ENUMS { - SC_ACTION_NONE=0, - SC_ACTION_RESTART=1, - SC_ACTION_REBOOT=2, - SC_ACTION_RUN_COMMAND=3 + SC_ACTION_NONE=(int)(0), + SC_ACTION_RESTART=(int)(1), + SC_ACTION_REBOOT=(int)(2), + SC_ACTION_RUN_COMMAND=(int)(3) } #else { __donnot_use_enum_SC_ACTION_TYPE=0x7FFFFFFF} @@ -282,7 +282,7 @@ struct SERVICE_FAILURE_ACTIONS { enum svcctl_StatusLevel #ifndef USE_UINT_ENUMS { - SVC_STATUS_PROCESS_INFO=0x00000000 + SVC_STATUS_PROCESS_INFO=(int)(0x00000000) } #else { __donnot_use_enum_svcctl_StatusLevel=0x7FFFFFFF} |