summaryrefslogtreecommitdiff
path: root/pfinet/linux/timer.h
blob: bbab79373e0823013c6aaf73dba9e188e907143c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _HACK_TIMER_H_
#define _HACK_TIMER_H_

#include <cthreads.h>

struct timer_list
{
  thread_t thread;
  int foobiebletch;
  unsigned long expires;
  unsigned long data;
  void (*function)(unsigned long);
};

void add_timer (struct timer_list *);
int del_timer (struct timer_list *);
void init_timer (struct timer_list *);

#endif