summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-01-18 14:46:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:55 -0500
commit862e610e4af0eb8b660c5526401cbe6f751444be (patch)
tree3d8601ebf54d73efa7666aa98737a143d730902f /source3/utils/net.h
parentade3ef6f0435a06d602519c012ffa6a0b0fbec71 (diff)
downloadsamba-862e610e4af0eb8b660c5526401cbe6f751444be.tar.gz
samba-862e610e4af0eb8b660c5526401cbe6f751444be.tar.bz2
samba-862e610e4af0eb8b660c5526401cbe6f751444be.zip
r4820: add beginnings of 'net rpc rights' for managing privilege assignments
(This used to be commit 164f94e52929330bd638f19bcf3bfce50303269e)
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index 5e65ca0d4c..2d9fbd1644 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -17,8 +17,21 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+/*
+ * A function of this type is passed to the '
+ * run_rpc_command' wrapper. Must go before the net_proto.h
+ * include
+ */
+
+typedef NTSTATUS (*rpc_command_fn)(const DOM_SID *, const char *,
+ struct cli_state *, TALLOC_CTX *, int, const char **);
+
+/* INCLUDE FILES */
+
#include "utils/net_proto.h"
+/* MACROS & DEFINES */
+
#define NET_FLAGS_MASTER 1
#define NET_FLAGS_DMB 2