summaryrefslogtreecommitdiff
path: root/source3/include/rpc_reg.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-31 13:00:59 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-31 13:00:59 +0000
commita0681820e687e576e78ddc91bd9b94a4099bc26a (patch)
tree2f7c2df3e3066cb49ece603467b6d9a2b40830c6 /source3/include/rpc_reg.h
parent82cfa2b248f3d1515bf70f147a406caaba317f47 (diff)
downloadsamba-a0681820e687e576e78ddc91bd9b94a4099bc26a.tar.gz
samba-a0681820e687e576e78ddc91bd9b94a4099bc26a.tar.bz2
samba-a0681820e687e576e78ddc91bd9b94a4099bc26a.zip
Add 'net rpc shutdown' and 'net rpc abortshutdown'.
These two little features are very useful, but the passing of options about needs some serious work. The popt stuff in the shutdown code is #ifdef'ed out until the main popt loop can be convinced not to chew on the options :-( Andrew Bartlett (This used to be commit 51c985be7fbfe5627c5b2590e7610653e7be98e3)
Diffstat (limited to 'source3/include/rpc_reg.h')
-rw-r--r--source3/include/rpc_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index bc2c3824df..b635f8bea4 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -74,6 +74,10 @@
#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
+
/* REG_Q_OPEN_HKCR */
typedef struct q_reg_open_hkcr_info
{