diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-04 07:50:04 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-04 07:50:04 +0000 |
commit | b327f5ba53788f6ef758af57a8845a44abba69d3 (patch) | |
tree | 02d7184416f83a2a2d71162c0fb143a3f3c3da80 /source3/include | |
parent | 5714c1e0b0e09050d38e917b9c5d9988b818128d (diff) | |
download | samba-b327f5ba53788f6ef758af57a8845a44abba69d3.tar.gz samba-b327f5ba53788f6ef758af57a8845a44abba69d3.tar.bz2 samba-b327f5ba53788f6ef758af57a8845a44abba69d3.zip |
Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.
Andrew Bartlett
(This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_reg.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h index 9ab24e30c6..46ec88283d 100644 --- a/source3/include/rpc_reg.h +++ b/source3/include/rpc_reg.h @@ -85,10 +85,6 @@ #define REG_FULL_RESOURCE_DESCRIPTOR 9 #define REG_RESOURCE_REQUIREMENTS_LIST 10 -/* Shutdown options */ -#define REG_FORCE_SHUTDOWN 0x001 -#define REG_REBOOT_ON_SHUTDOWN 0x100 - /* structure to contain registry values */ typedef struct { @@ -616,7 +612,8 @@ typedef struct q_reg_shutdown_info UNIHDR hdr_msg; /* shutdown message */ UNISTR2 uni_msg; /* seconds */ uint32 timeout; /* seconds */ - uint16 flags; + uint8 force; /* boolean: force shutdown */ + uint8 reboot; /* boolean: reboot on shutdown */ } REG_Q_SHUTDOWN; |