version 1.85, 2005/09/15 22:12:23 |
version 1.86, 2005/10/07 21:47:32 |
|
|
|
|
|
|
struct cvs_cmd { |
struct cvs_cmd { |
int cmd_op; |
int cmd_op; |
int cmd_req; |
int cmd_req; |
char cmd_name[CVS_CMD_MAXNAMELEN]; |
char cmd_name[CVS_CMD_MAXNAMELEN]; |
char cmd_alias[CVS_CMD_MAXALIAS][CVS_CMD_MAXNAMELEN]; |
char cmd_alias[CVS_CMD_MAXALIAS][CVS_CMD_MAXNAMELEN]; |
char cmd_descr[CVS_CMD_MAXDESCRLEN]; |
char cmd_descr[CVS_CMD_MAXDESCRLEN]; |
char *cmd_synopsis; |
char *cmd_synopsis; |
char *cmd_opts; |
char *cmd_opts; |
char *cmd_defargs; |
char *cmd_defargs; |
int file_flags; |
int file_flags; |
|
|
/* operations vector */ |
/* operations vector */ |
int (*cmd_init) (struct cvs_cmd *, int, char **, int *); |
int (*cmd_init)(struct cvs_cmd *, int, char **, int *); |
int (*cmd_pre_exec) (struct cvsroot *); |
int (*cmd_pre_exec)(struct cvsroot *); |
int (*cmd_exec_remote) (CVSFILE *, void *); |
int (*cmd_exec_remote)(CVSFILE *, void *); |
int (*cmd_exec_local) (CVSFILE *, void *); |
int (*cmd_exec_local)(CVSFILE *, void *); |
int (*cmd_post_exec) (struct cvsroot *); |
int (*cmd_post_exec)(struct cvsroot *); |
int (*cmd_cleanup) (void); |
int (*cmd_cleanup)(void); |
|
|
/* flags for cvs_file_get() */ |
/* flags for cvs_file_get() */ |
int cmd_flags; |
int cmd_flags; |
}; |
}; |
|
|
struct cvs_file; |
struct cvs_file; |