s3:smbstatus don't check if process exists twice
[Samba.git] / source3 / rpc_client / rpc_client.h
blob6561b28b7c141f757e42252d41ad7b3d783cc2e3
1 /*
2 * Unix SMB/CIFS implementation.
4 * RPC Pipe client routines
6 * Copyright (c) 2005 Jeremy Allison
7 * Copyright (c) 2010 Simo Sorce
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.
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.
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/>.
24 #ifndef _RPC_CLIENT_H
25 #define _RPC_CLIENT_H
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"
32 struct dcerpc_binding_handle;
34 struct rpc_pipe_client {
35 struct rpc_pipe_client *prev, *next;
37 struct rpc_cli_transport *transport;
38 struct dcerpc_binding_handle *binding_handle;
40 struct ndr_syntax_id abstract_syntax;
41 struct ndr_syntax_id transfer_syntax;
43 char *desthost;
44 char *srv_name_slash;
46 uint16 max_xmit_frag;
47 uint16 max_recv_frag;
49 struct pipe_auth_data *auth;
51 /* The following is only non-null on a netlogon client pipe. */
52 struct netlogon_creds_CredentialState *dc;
55 #endif /* _RPC_CLIENT_H */