home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CMDPARSE.ZIP
/
CMDPARSE.H
< prev
next >
Wrap
Text File
|
1989-12-02
|
867b
|
33 lines
/* CMDPARSE.H
Header file to use in program code when using CMDPARSE.OBJ
*/
/* ********************** Prototypes ********************** */
int cmd_init(void); /* Call first before any others */
char *get_param(int pnum);
int if_option(char *tst_str);
int if_optioni(char *tst_str);
char *opt_value(char *tst_str);
char *opt_valuei(char *tst_str);
/* ********************** Global Variables ********************** */
/* cmd_arg[] is an array of pointers to the pieces of the command. It
is accessible from the program using this extern.
*/
extern char *cmd_arg[22];
/* arg_type[] is an array of flags indicating the type of each of the
arguments. It is accessible from the program using this extern. The
flags are 0=parameter 1=option.
*/
extern int arg_type[22];
/* End of CMDPARSE.H */