s3-auth: On successful user mapping set mapped_to_guest to false.
[Samba/vl.git] / source3 / rpc_server / rpc_sock_helper.h
blob0590d1f8e4242954e281c1b7077fd63ab8424346
1 /*
2 * Unix SMB/CIFS implementation.
4 * RPC Socket Helper
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/>.
23 #ifndef _RPC_SOCK_HELPER_H_
24 #define _RPC_SOCK_HELPER_H_
26 NTSTATUS rpc_create_tcpip_sockets(const struct ndr_interface_table *iface,
27 struct dcerpc_binding_vector *bvec,
28 uint16_t port,
29 int *listen_fd,
30 int *listen_fd_size);
32 NTSTATUS rpc_setup_tcpip_sockets(struct tevent_context *ev_ctx,
33 struct messaging_context *msg_ctx,
34 const struct ndr_interface_table *iface,
35 struct dcerpc_binding_vector *bvec,
36 uint16_t port);
38 #endif /* _RPC_SOCK_HELPER_H_ */
40 /* vim: set ts=8 sw=8 noet cindent syntax=c.doxygen: */