s4:libcli: split out smb_raw_negotiate_fill_transport()
[Samba.git] / source3 / client / client_proto.h
blob38f13aa0adc85bb26dffe79fea5ef5c97144f9a9
1 /*
2 * Unix SMB/CIFS implementation.
3 * collected prototypes header
5 * frozen from "make proto" in May 2008
7 * Copyright (C) Michael Adam 2008
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/>.
23 #ifndef _CLIENT_PROTO_H_
24 #define _CLIENT_PROTO_H_
26 struct cli_state;
27 struct file_info;
29 enum {
30 ATTR_UNSET,
31 ATTR_SET,
34 /* The following definitions come from client/client.c */
36 const char *client_get_cur_dir(void);
37 const char *client_set_cur_dir(const char *newdir);
38 char *client_clean_name(TALLOC_CTX *ctx, const char *name);
39 NTSTATUS do_list(const char *mask,
40 uint16_t attribute,
41 NTSTATUS (*fn)(struct cli_state *cli_state, struct file_info *,
42 const char *dir),
43 bool rec,
44 bool dirs);
45 int set_remote_attr(const char *filename, uint16_t new_attr, int mode);
46 int cmd_iosize(void);
48 /* The following definitions come from client/dnsbrowse.c */
50 int do_smb_browse(void);
51 int do_smb_browse(void);
53 #endif /* _CLIENT_PROTO_H_ */