char *stripnl(char *s); void open_log(); void log(const char *fmt, ...); int checkdir(char *dir); int check_user(); int check_assgn(char *assgn); int do_item(char *item); int do_dir(char *source, char *dest); int file_copy(char *source, char *dest, struct stat st); int get_choice(); long fromdate(long month, long day, long year); int parse_fields(char **fields, char *input, char *delim, int max_fields);