ldb: Release ldb 2.2.1
[Samba.git] / source4 / rpc_server / dcerpc_server.h
blob529c6044571b5c0bfc39077e8005d8a2124583ea
1 /*
2 Unix SMB/CIFS implementation.
4 server side dcerpc defines
6 Copyright (C) Andrew Tridgell 2003-2005
7 Copyright (C) Stefan (metze) Metzmacher 2004-2005
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef SAMBA_DCERPC_SERVER_H
24 #define SAMBA_DCERPC_SERVER_H
26 #include "librpc/rpc/dcesrv_core.h"
28 struct model_ops;
30 NTSTATUS dcesrv_add_ep(struct dcesrv_context *dce_ctx,
31 struct loadparm_context *lp_ctx,
32 struct dcesrv_endpoint *e,
33 struct tevent_context *event_ctx,
34 const struct model_ops *model_ops,
35 void *process_context);
37 _PUBLIC_ struct imessaging_context *dcesrv_imessaging_context(
38 struct dcesrv_connection *conn);
39 _PUBLIC_ struct server_id dcesrv_server_id(struct dcesrv_connection *conn);
41 #endif /* SAMBA_DCERPC_SERVER_H */