Initial revision
This commit is contained in:
parent
dcc8110b9b
commit
f4ad749d6a
22
clients/fhost.h
Normal file
22
clients/fhost.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
struct fsp_host {
|
||||
char *hostname;
|
||||
char *hostaddr; /* decimal ip address */
|
||||
char **alias;
|
||||
int port;
|
||||
int local_port;
|
||||
char *dir;
|
||||
char *local_dir;
|
||||
int delay;
|
||||
int timeout;
|
||||
int trace;
|
||||
char *password;
|
||||
};
|
||||
|
||||
struct fsp_host * init_host(void);
|
||||
void add_host(struct fsp_host *h);
|
||||
void add_host_alias(struct fsp_host *h, const char *name);
|
||||
|
||||
/* lex parser */
|
||||
extern FILE *yyin;
|
||||
int yylex(void);
|
||||
int yywrap(void);
|
||||
Loading…
Reference in New Issue
Block a user