summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi/dcesrv_drsuapi.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-10-10 01:35:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:42 -0500
commit3dd56175abf1a4580cc4d506f84ecc17e867c21e (patch)
treec63c73b9e1a285dd0a447e9e94ab1650a5dfa155 /source4/rpc_server/drsuapi/dcesrv_drsuapi.h
parent594082233fda1e0fa82edaddd6584087d73b26c8 (diff)
downloadsamba-3dd56175abf1a4580cc4d506f84ecc17e867c21e.tar.gz
samba-3dd56175abf1a4580cc4d506f84ecc17e867c21e.tar.bz2
samba-3dd56175abf1a4580cc4d506f84ecc17e867c21e.zip
r2889: add DRSUAPI server
- with DsBind and DsUnbind implmented :-) the RPC-DRSUAPI test works metze (This used to be commit 536af87ef12024615728ce0060b557f6f504e33f)
Diffstat (limited to 'source4/rpc_server/drsuapi/dcesrv_drsuapi.h')
-rw-r--r--source4/rpc_server/drsuapi/dcesrv_drsuapi.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.h b/source4/rpc_server/drsuapi/dcesrv_drsuapi.h
new file mode 100644
index 0000000000..4c31d4d710
--- /dev/null
+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.h
@@ -0,0 +1,35 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ endpoint server for the drsuapi pipe
+
+ Copyright (C) Stefan Metzmacher 2004
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/*
+ this type allows us to distinguish handle types
+*/
+enum drsuapi_handle {
+ DRSUAPI_BIND_HANDLE,
+};
+
+/*
+ state asscoiated with a drsuapi_DsBind*() operation
+*/
+struct drsuapi_bind_state {
+ uint8_t __dummy;
+};