aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/judgm_line.h
blob: 1b36c743738f9480adcea73a8c5f1be465ab5d15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
struct judgm_line_info{
    int subid;

    char *pro_path;
    char *code_path;
    char *run_path;
    
    int judgk_modfd;
    void *line_dll;
    void *check_dll;

    int lang;
    FILE *set_file;
    char *set_data;
    
    char res_data[JUDGE_RES_DATAMAX];
    size_t res_len;
};
typedef int (*judgm_line_run_fn)(judgm_line_info *info);