Statistics
| Branch: | Revision:

root / mainbox / event.h @ 75cef49f

History | View | Annotate | Download (310 Bytes)

1
#ifndef EVENT_H
2
#define EVENT_H
3

    
4
#include <time.h>
5

    
6
struct event_t {
7
  unsigned int user;
8
  int tool_id;
9
  time_t tstart;
10
  time_t tend;
11
  struct event_t *next;
12
};
13

    
14
struct event_t *event_alloc();
15
void event_free(struct event_t *event);
16
void event_q_push(struct event_t *event);
17
void event_q_process();
18

    
19
#endif