#include #include "aplinks.h" #ifdef UNIX #include "stricmp.h" #endif int chk_recur(int argc, char *argv[], int *rmode) { int i; *rmode = DEFAULT_RMODE; for(i = 1; i < argc; i++){ if(stricmp(argv[i], "-R") == 0){ *rmode = ON; } else if(stricmp(argv[i], "-R-") == 0){ *rmode = OFF; } } return 0; }