Sync with trunk (r48144)
[reactos.git] / base / applications / network / ftp / prototypes.h
1
2 int fgetcSocket(int s);
3 const char *fputsSocket(const char *format, int s);
4
5 const char *fprintfSocket(int s, const char *format, ...);
6
7 int fputcSocket(int s, char putChar);
8 int fputSocket(int s, char *putChar, int len);
9 char *fgetsSocket(int s, char *string);
10
11 char *hookup();
12 char **glob();
13 int herror(char *s);
14
15 int getreply(int expecteof);
16 int ruserpass(const char *host, char **aname, char **apass, char **aacct);
17 char *getpass(const char *prompt);
18 void makeargv(void);
19 void domacro(int argc, const char *argv[]);
20 void proxtrans(const char *cmd, const char *local, const char *remote);
21 int null(void);
22 int initconn(void);
23 void disconnect(void);
24 void ptransfer(const char *direction, long bytes, struct timeval *t0, struct timeval *t1);
25 void setascii(void);
26 void setbinary(void);
27 void setebcdic(void);
28 void settenex(void);
29 void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0);
30 void setpassive(int argc, char *argv[]);
31 void setpeer(int argc, const char *argv[]);
32 void cmdscanner(int top);
33 void pswitch(int flag);
34 void quit(void);
35 int login(const char *host);
36 int command(const char *fmt, ...);
37 int globulize(const char **cpp);
38 void sendrequest(const char *cmd, const char *local, const char *remote, int printnames);
39 void recvrequest(const char *cmd, const char *local, const char *remote, const char *mode,
40 int printnames);
41 int confirm(const char *cmd, const char *file);
42 void blkfree(char **av0);
43 int getit(int argc, const char *argv[], int restartit, const char *mode);
44 int sleep(int time);
45
46 char *tail();
47 void setbell(), setdebug();
48 void setglob(), sethash(), setport();
49 void setprompt();
50 void settrace(), setverbose();
51 void settype(), setform(), setstruct();
52 void restart(), syst();
53 void cd(), lcd(), delete(), mdelete();
54 void ls(), mls(), get(), mget(), help(), append(), put(), mput(), reget();
55 void status();
56 void renamefile();
57 void quote(), rmthelp(), site();
58 void pwd(), makedir(), removedir(), setcr();
59 void account(), doproxy(), reset(), setcase(), setntrans(), setnmap();
60 void setsunique(), setrunique(), cdup(), macdef();
61 void sizecmd(), modtime(), newer(), rmtstatus();
62 void do_chmod(), do_umask(), idle();
63 void shell(), user(), fsetmode();
64 struct cmd *getcmd();