/* hmm how do I do this? */ /* things that are needed ... */ /* 1. the list of options need to be passed in ... */ /* 2. the commands need to be parsed ... */ /* 3. info must be returned */ #include "option_code.h" #include char **OPT_opt_list; int OPT_num_opt=-1;; int handle_option(char *c_option1,char *op_list) { int i; int found=-1; static int first=1; char *c_option=&c_option[1]; if (first) { build_opt_list(op_list); } for (i=0;i