ReactOS  0.4.12-dev-18-gf469aca
prototypes.h
Go to the documentation of this file.
1 #pragma once
2 
3 int fgetcSocket(int s);
4 const char *fputsSocket(const char *format, int s);
5 
6 const char *fprintfSocket(int s, const char *format, ...);
7 
8 int fputcSocket(int s, char putChar);
9 int fputSocket(int s, char *putChar, int len);
10 char *fgetsSocket(int s, char *string);
11 
12 char *hookup(const char *host, int port);
13 char **glob(const char *s);
14 int herror(char *s);
15 
16 int getreply(int expecteof);
17 int ruserpass(const char *host, char **aname, char **apass, char **aacct);
18 char *getpass(const char *prompt);
19 void makeargv(void);
20 void domacro(int argc, const char *argv[]);
21 void proxtrans(const char *cmd, const char *local, const char *remote);
22 int null(void);
23 int initconn(void);
24 void disconnect(int argc, const char *argv[]);
25 void ptransfer(const char *direction, long bytes, struct timeval *t0, struct timeval *t1);
26 void setascii(int argc, const char *argv[]);
27 void setbinary(int argc, const char *argv[]);
28 void setebcdic(void);
29 void settenex(int argc, const char *argv[]);
30 void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0);
31 void setpassive(int argc, const char *argv[]);
32 void setpeer(int argc, const char *argv[]);
33 void cmdscanner(int top);
34 void pswitch(int flag);
35 void quit(int argc, const char *argv[]);
36 int login(const char *host);
37 int command(const char *fmt, ...);
38 int globulize(const char **cpp);
39 void sendrequest(const char *cmd, const char *local, const char *remote, int printnames);
40 void recvrequest(const char *cmd, const char *local, const char *remote, const char *mode,
41  int printnames);
42 int confirm(const char *cmd, const char *file);
43 void blkfree(char **av0);
44 int getit(int argc, const char *argv[], int restartit, const char *mode);
45 int sleep(int time);
46 
47 char *tail(void);
48 void setbell(int argc, const char *argv[]);
49 void setdebug(int argc, const char *argv[]);
50 void setglob(int argc, const char *argv[]);
51 void sethash(int argc, const char *argv[]);
52 void setport(int argc, const char *argv[]);
53 void setprompt(int argc, const char *argv[]);
54 void settrace(int argc, const char *argv[]);
55 void setverbose(int argc, const char *argv[]);
56 void settype(int argc, const char *argv[]);
57 void setform(int argc, const char *argv[]);
58 void setstruct(int argc, const char *argv[]);
59 void restart(int argc, const char *argv[]);
60 void syst(int argc, const char *argv[]);
61 void cd(int argc, const char *argv[]);
62 void lcd(int argc, const char *argv[]);
63 void delete(int argc, const char *argv[]);
64 void mdelete(int argc, const char *argv[]);
65 void ls(int argc, const char *argv[]);
66 void mls(int argc, const char *argv[]);
67 void get(int argc, const char *argv[]);
68 void mget(int argc, const char *argv[]);
69 void help(int argc, const char *argv[]);
70 void put(int argc, const char *argv[]);
71 void mput(int argc, const char *argv[]);
72 void reget(int argc, const char *argv[]);
73 void status(int argc, const char *argv[]);
74 void renamefile(int argc, const char *argv[]);
75 void quote(int argc, const char *argv[]);
76 void rmthelp(int argc, const char *argv[]);
77 void site(int argc, const char *argv[]);
78 void pwd(int argc, const char *argv[]);
79 void makedir(int argc, const char *argv[]);
80 void removedir(int argc, const char *argv[]);
81 void setcr(int argc, const char *argv[]);
82 void account(int argc, const char *argv[]);
83 void doproxy(int argc, const char *argv[]);
84 void reset(int argc, const char *argv[]);
85 void setcase(int argc, const char *argv[]);
86 void setntrans(int argc, const char *argv[]);
87 void setnmap(int argc, const char *argv[]);
88 void setsunique(int argc, const char *argv[]);
89 void setrunique(int argc, const char *argv[]);
90 void cdup(int argc, const char *argv[]);
91 void macdef(int argc, const char *argv[]);
92 void sizecmd(int argc, const char *argv[]);
93 void modtime(int argc, const char *argv[]);
94 void newer(int argc, const char *argv[]);
95 void rmtstatus(int argc, const char *argv[]);
96 void do_chmod(int argc, const char *argv[]);
97 void do_umask(int argc, const char *argv[]);
98 void idle(int argc, const char *argv[]);
99 void shell(int argc, const char *argv[]);
100 void user(int argc, const char *argv[]);
101 void fsetmode(int argc, const char *argv[]);
102 struct cmd *getcmd(const char *name);
void setprompt(int argc, const char *argv[])
Definition: cmds.c:909
void cdup(int argc, const char *argv[])
Definition: cmds.c:2103
static int argc
Definition: ServiceArgs.c:12
void put(int argc, const char *argv[])
Definition: cmds.c:279
void user(int argc, const char *argv[])
Definition: cmds.c:1350
void help(int argc, const char *argv[])
Definition: main.c:526
void ls(int argc, const char *argv[])
Definition: cmds.c:1136
void sizecmd(int argc, const char *argv[])
Definition: cmds.c:2208
struct cmd * getcmd(const char *name)
Definition: main.c:350
void fsetmode(int argc, const char *argv[])
Definition: cmds.c:243
int globulize(const char **cpp)
Definition: cmds.c:1663
void cmdscanner(int top)
Definition: main.c:302
Definition: ftp_var.h:139
int fputcSocket(int s, char putChar)
Definition: fake.c:135
void recvrequest(const char *cmd, const char *local, const char *remote, const char *mode, int printnames)
Definition: ftp.c:717
void blkfree(char **av0)
Definition: fake.c:28
char * host
Definition: whois.c:55
void modtime(int argc, const char *argv[])
Definition: cmds.c:2232
void mls(int argc, const char *argv[])
Definition: cmds.c:1168
int fputSocket(int s, char *putChar, int len)
Definition: fake.c:151
void mdelete(int argc, const char *argv[])
Definition: cmds.c:1049
int ruserpass(const char *host, char **aname, char **apass, char **aacct)
Definition: ruserpass.c:58
__u16 time
Definition: mkdosfs.c:366
void setascii(int argc, const char *argv[])
Definition: cmds.c:212
void pswitch(int flag)
Definition: ftp.c:1310
void macdef(int argc, const char *argv[])
Definition: cmds.c:2133
static char ** argv
Definition: ServiceArgs.c:11
void lcd(int argc, const char *argv[])
Definition: cmds.c:996
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
void setnmap(int argc, const char *argv[])
Definition: cmds.c:1873
void setstruct(int argc, const char *argv[])
Definition: cmds.c:268
int herror(char *s)
Definition: fake.c:46
void idle(int argc, const char *argv[])
Definition: cmds.c:1581
void settype(int argc, const char *argv[])
Definition: cmds.c:147
static unsigned char bytes[4]
Definition: adnsresfilter.c:74
void newer(int argc, const char *argv[])
Definition: cmds.c:2278
int sleep(int time)
Definition: fake.c:41
char * tail(void)
void settenex(int argc, const char *argv[])
Definition: cmds.c:222
void removedir(int argc, const char *argv[])
Definition: cmds.c:1450
void setbinary(int argc, const char *argv[])
Definition: cmds.c:202
void settrace(int argc, const char *argv[])
Definition: cmds.c:853
void reset(int argc, const char *argv[])
Definition: ftp.c:1725
void setport(int argc, const char *argv[])
Definition: cmds.c:895
char * fgetsSocket(int s, char *string)
Definition: fake.c:168
void disconnect(int argc, const char *argv[])
Definition: cmds.c:1620
void makeargv(void)
Definition: main.c:384
void sendrequest(const char *cmd, const char *local, const char *remote, int printnames)
Definition: ftp.c:443
void setcr(int argc, const char *argv[])
Definition: cmds.c:1808
void quit(int argc, const char *argv[])
Definition: cmds.c:1606
int command(const char *fmt,...)
Definition: ftp.c:266
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean flag
Definition: glfuncs.h:72
void cd(int argc, const char *argv[])
Definition: cmds.c:965
void sethash(int argc, const char *argv[])
Definition: cmds.c:866
const char * fputsSocket(const char *format, int s)
Definition: fake.c:128
const char * fprintfSocket(int s, const char *format,...)
Definition: fake.c:114
int getit(int argc, const char *argv[], int restartit, const char *mode)
Definition: cmds.c:488
void doproxy(int argc, const char *argv[])
Definition: cmds.c:1734
char ** glob(const char *s)
Definition: fake.c:36
int fgetcSocket(int s)
Definition: fake.c:89
void setsunique(int argc, const char *argv[])
Definition: cmds.c:2086
void account(int argc, const char *argv[])
Definition: cmds.c:1690
char * hookup(const char *host, int port)
Definition: ftp.c:96
void setdebug(int argc, const char *argv[])
Definition: cmds.c:937
void setverbose(int argc, const char *argv[])
Definition: cmds.c:882
void restart(int argc, const char *argv[])
Definition: cmds.c:2115
void site(int argc, const char *argv[])
Definition: cmds.c:1515
GLenum GLsizei len
Definition: glext.h:6722
GLdouble s
Definition: gl.h:2039
int confirm(const char *cmd, const char *file)
Definition: cmds.c:1636
void proxtrans(const char *cmd, const char *local, const char *remote)
#define local
Definition: zutil.h:30
char * getpass(const char *prompt)
Definition: fake.c:231
void setglob(int argc, const char *argv[])
Definition: cmds.c:923
void setbell(int argc, const char *argv[])
Definition: cmds.c:840
void syst(int argc, const char *argv[])
Definition: cmds.c:2128
void mput(int argc, const char *argv[])
Definition: cmds.c:344
void pwd(int argc, const char *argv[])
Definition: cmds.c:1401
void domacro(int argc, const char *argv[])
Definition: domacro.c:26
void makedir(int argc, const char *argv[])
Definition: cmds.c:1420
void renamefile(int argc, const char *argv[])
Definition: cmds.c:1098
void setpassive(int argc, const char *argv[])
Definition: cmds.c:1865
void mget(int argc, const char *argv[])
Definition: cmds.c:642
void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0)
Definition: ftp.c:1293
Definition: name.c:36
void status(int argc, const char *argv[])
Definition: cmds.c:786
void quote(int argc, const char *argv[])
Definition: cmds.c:1480
void reget(int argc, const char *argv[])
Definition: cmds.c:475
void setcase(int argc, const char *argv[])
Definition: cmds.c:1800
void shell(int argc, const char *argv[])
Definition: cmds.c:1231
void setntrans(int argc, const char *argv[])
Definition: cmds.c:1816
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
void do_chmod(int argc, const char *argv[])
Definition: cmds.c:1546
void setpeer(int argc, const char *argv[])
Definition: cmds.c:49
USHORT port
Definition: uri.c:227
void setform(int argc, const char *argv[])
Definition: cmds.c:256
int getreply(int expecteof)
Definition: ftp.c:314
void setebcdic(void)
Definition: cmds.c:232
Definition: dsound.c:943
void rmthelp(int argc, const char *argv[])
Definition: cmds.c:1593
void do_umask(int argc, const char *argv[])
Definition: cmds.c:1572
int login(const char *host)
Definition: ftp.c:189
void ptransfer(const char *direction, long bytes, struct timeval *t0, struct timeval *t1)
int null(void)
Definition: ftp.c:1794
void setrunique(int argc, const char *argv[])
Definition: cmds.c:2094
void rmtstatus(int argc, const char *argv[])
Definition: cmds.c:2270
Definition: fci.c:126
int initconn(void)
Definition: ftp.c:1125