s3: RPC: Don't crash on trying to talloc_free(-1) if smb_iconv_open_ex() fails.
[Samba.git] / source3 / rpc_server / rpc_service_setup.h
blobd7bc4be4167b9b354d15fceecca22c9a5d68d935
1 /*
2 * Unix SMB/CIFS implementation.
4 * SMBD RPC service callbacks
6 * Copyright (c) 2011 Andreas Schneider <asn@samba.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #ifndef _RPC_EP_SETUP_H
23 #define _RPC_EP_SETUP_H
25 struct ndr_interface_table;
26 struct rpc_srv_callbacks;
28 NTSTATUS dcesrv_ep_setup(struct tevent_context *ev_ctx,
29 struct messaging_context *msg_ctx);
31 NTSTATUS rpc_setup_embedded(struct tevent_context *ev_ctx,
32 struct messaging_context *msg_ctx,
33 const struct ndr_interface_table *t,
34 const char *pipe_name);
36 #endif /* _RPC_EP_SETUP_H */
38 /* vim: set ts=8 sw=8 noet cindent ft=c.doxygen: */