ctdb-common: Map ENOENT for a missing event script to ENOEXEC
[samba.git] / source3 / rpc_server / rpc_sock_helper.h
blob9c8128afe8c28e1eecc528851692ad79d623f3d0
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 #include "rpc_server.h"
28 NTSTATUS dcesrv_create_binding_sockets(
29 struct dcerpc_binding *b,
30 TALLOC_CTX *mem_ctx,
31 size_t *pnum_fds,
32 int **fds);
34 #endif /* _RPC_SOCK_HELPER_H_ */
36 /* vim: set ts=8 sw=8 noet cindent syntax=c.doxygen: */