Subversion Repositories shark

Rev

Rev 1199 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __PARSER_H__
#define __PARSER_H__

#include <kernel/kern.h>

struct loader_task {
  int number;
  int task_level;
  int task_type;
  struct timespec wcet;
  int exec_type;
  struct timespec exec_par_1;
  struct timespec exec_par_2;
  struct timespec exec_par_3;
  int act_type;
  struct timespec act_par_1;
  struct timespec act_par_2;
  struct timespec act_par_3;
  struct timespec act_par_4;
  struct loader_task *next;
};

int line_parser(char *buf, int line_num, struct timespec *total, struct loader_task *last);

#endif