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

struct timer_list
{
  cthread_t thread;
  u_long expires;
  u_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