#ifndef SHARED_HOTPOT_EXAM_UTIL_H
#define SHARED_HOTPOT_EXAM_UTIL_H

int csv_value(char *line, int n, char *value, int maxlen);
void get_hotpot_score_path(const char *course_path, const char *username, const char *sender, const char *info_fname,
				char *path);
void create_hotpot_exam_symlink (const char *coursepath, const char *sender, const char *dirname,
                const SESSION *user, const char *crs, char *symlink_fname, int access);

void get_hotpot_exam_source_fname (char *source_path, char *dirname, const char *course_path, 
   			                const char *sender_username, const char *info_fname);
   			                
void get_hotpot_unique_fname(char *unique_fname, const char *base_dir, const char *filetype, time_t *time_sent);
                


#endif


