2 * Unix SMB/CIFS implementation.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #include "lib/tsocket/tsocket.h"
23 #include "librpc/rpc/rpc_common.h"
25 struct auth_session_info
;
27 struct tevent_req
*local_np_connect_send(
29 struct tevent_context
*ev
,
31 enum dcerpc_transport_t transport
,
32 const char *remote_client_name
,
33 const struct tsocket_address
*remote_client_addr
,
34 const char *local_server_name
,
35 const struct tsocket_address
*local_server_addr
,
36 const struct auth_session_info
*session_info
,
37 bool need_idle_server
);
39 int local_np_connect_recv(
40 struct tevent_req
*req
,
42 struct tstream_context
**pstream
);
46 enum dcerpc_transport_t transport
,
47 const char *remote_client_name
,
48 const struct tsocket_address
*remote_client_addr
,
49 const char *local_server_name
,
50 const struct tsocket_address
*local_server_addr
,
51 const struct auth_session_info
*session_info
,
52 bool need_idle_server
,
54 struct tstream_context
**stream
);
56 #endif /* _LOCAL_NP_H_ */