#ifndef SHARED_SURVEY_RECORD_HTML_PARSER_H
#define SHARED_SURVEY_RECORD_HTML_PARSER_H

typedef struct result
{
    char *name;
    char *value;
    struct result *next;
}RESULT;

typedef struct record
{
    char *time;
    char *course_list;
    RESULT *head;
    RESULT *current;
    struct record *next;
}RECORD;

typedef struct record_list
{
	int expect_takers;
	RECORD *head;
	RECORD *current;
}RECORD_LIST;

void free_record_html_list(RECORD_LIST *list);
void *record_html_parser(char *filename);
     
#endif

