summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-12-30 04:41:27 +0000
committerSimo Sorce <idra@samba.org>2002-12-30 04:41:27 +0000
commit60667264b71d624ec45f567170b85589992567ed (patch)
treec9ccce0ff9c95e8ae9f3059408915eb37b6c73f4 /source3/include
parentb68e6c99103fd0f1e8a25b2fafe14d7540b2ab10 (diff)
downloadsamba-60667264b71d624ec45f567170b85589992567ed.tar.gz
samba-60667264b71d624ec45f567170b85589992567ed.tar.bz2
samba-60667264b71d624ec45f567170b85589992567ed.zip
the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation (This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 92175cf287..33134e8834 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;