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