[APPLICATIONS]
[reactos.git] / reactos / 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(void);
12 char **glob(void);
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(void);
47 void setbell(void), setdebug(void);
48 void setglob(void), sethash(void), setport(void);
49 void setprompt(void);
50 void settrace(void), setverbose(void);
51 void settype(void), setform(void), setstruct(void);
52 void restart(void), syst(void);
53 void cd(void), lcd(void), delete(void), mdelete(void);
54 void ls(void), mls(void), get(void), mget(void), help(void), append(void), put(void), mput(void), reget(void);
55 void status(void);
56 void renamefile(void);
57 void quote(void), rmthelp(void), site(void);
58 void pwd(void), makedir(void), removedir(void), setcr(void);
59 void account(void), doproxy(void), reset(void), setcase(void), setntrans(void), setnmap(void);
60 void setsunique(void), setrunique(void), cdup(void), macdef(void);
61 void sizecmd(void), modtime(void), newer(void), rmtstatus(void);
62 void do_chmod(void), do_umask(void), idle(void);
63 void shell(void), user(void), fsetmode(void);
64 struct cmd *getcmd(void);