source: trunk/server/source3/rpc_client/rpc_client.h

Last change on this file was 920, checked in by Silvan Scherrer, 9 years ago

Samba Server: apply latest security patches to trunk

File size: 1.5 KB
Line 
1/*
2 * Unix SMB/CIFS implementation.
3 *
4 * RPC Pipe client routines
5 *
6 * Copyright (c) 2005 Jeremy Allison
7 * Copyright (c) 2010 Simo Sorce
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 */
22
23
24#ifndef _RPC_CLIENT_H
25#define _RPC_CLIENT_H
26
27#include "librpc/gen_ndr/dcerpc.h"
28#include "librpc/rpc/dcerpc.h"
29#include "../librpc/ndr/libndr.h"
30#include "rpc_client/rpc_transport.h"
31
32struct dcerpc_binding_handle;
33
34struct rpc_pipe_client {
35 struct rpc_pipe_client *prev, *next;
36
37 struct rpc_cli_transport *transport;
38 struct dcerpc_binding_handle *binding_handle;
39
40 struct ndr_syntax_id abstract_syntax;
41 struct ndr_syntax_id transfer_syntax;
42 bool verified_pcontext;
43
44 char *desthost;
45 char *srv_name_slash;
46
47 uint16 max_xmit_frag;
48 uint16 max_recv_frag;
49
50 struct pipe_auth_data *auth;
51
52 /* The following is only non-null on a netlogon client pipe. */
53 struct netlogon_creds_CredentialState *dc;
54};
55
56#endif /* _RPC_CLIENT_H */
Note: See TracBrowser for help on using the repository browser.