vfs_ceph_new: common prefix to debug-log messages
[Samba.git] / libcli / tstream_binding_handle / tstream_binding_handle.h
blobe5407374d68ff18ac1551dafc26d3efca019b7d2
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Ralph Boehme 2016
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _TSTREAM_BINDING_HANDLE_H_
21 #define _TSTREAM_BINDING_HANDLE_H_
23 #include <talloc.h>
24 #include "librpc/rpc/dcerpc.h"
25 #include "librpc/rpc/rpc_common.h"
26 #include "libcli/util/tstream.h"
28 struct dcerpc_binding_handle *tstream_binding_handle_create(
29 TALLOC_CTX *mem_ctx,
30 const struct ndr_interface_table *table,
31 struct tstream_context **stream,
32 size_t call_initial_read_size,
33 tstream_read_pdu_blob_full_fn_t *complete_pdu_fn,
34 void *complete_pdu_fn_private,
35 uint32_t max_data);
37 #endif /* _TSTREAM_BINDING_HANDLE_H_ */