| 1 | /*
|
|---|
| 2 | * Unix SMB/CIFS implementation.
|
|---|
| 3 | * collected prototypes header
|
|---|
| 4 | *
|
|---|
| 5 | * frozen from "make proto" in May 2008
|
|---|
| 6 | *
|
|---|
| 7 | * Copyright (C) Michael Adam 2008
|
|---|
| 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 | #ifndef _CLIENT_PROTO_H_
|
|---|
| 24 | #define _CLIENT_PROTO_H_
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 | /* The following definitions come from client/client.c */
|
|---|
| 28 |
|
|---|
| 29 | const char *client_get_cur_dir(void);
|
|---|
| 30 | const char *client_set_cur_dir(const char *newdir);
|
|---|
| 31 | void do_list(const char *mask,
|
|---|
| 32 | uint16 attribute,
|
|---|
| 33 | void (*fn)(file_info *, const char *dir),
|
|---|
| 34 | bool rec,
|
|---|
| 35 | bool dirs);
|
|---|
| 36 | int cmd_iosize(void);
|
|---|
| 37 |
|
|---|
| 38 | /* The following definitions come from client/clitar.c */
|
|---|
| 39 |
|
|---|
| 40 | int cmd_block(void);
|
|---|
| 41 | int cmd_tarmode(void);
|
|---|
| 42 | int cmd_setmode(void);
|
|---|
| 43 | int cmd_tar(void);
|
|---|
| 44 | int process_tar(void);
|
|---|
| 45 | int tar_parseargs(int argc, char *argv[], const char *Optarg, int Optind);
|
|---|
| 46 |
|
|---|
| 47 | /* The following definitions come from client/dnsbrowse.c */
|
|---|
| 48 |
|
|---|
| 49 | int do_smb_browse(void);
|
|---|
| 50 | int do_smb_browse(void);
|
|---|
| 51 |
|
|---|
| 52 | #endif /* _CLIENT_PROTO_H_ */
|
|---|