Lots of changes. In no particular order:
[distributedratelimiting.git] / drl / calendar.h
1 /* See the DRL-LICENSE file for this file's software license. */
2
3 #ifndef _CALENDAR_H_
4 #define _CALENDAR_H_
5
6 #include "bsd_queue.h"
7 #include "ratetypes.h"
8
9 #define SCHEDBITS (7)
10 #define SCHEDLEN (1 << SCHEDBITS)
11 #define SCHEDMASK (SCHEDLEN - 1)
12
13 /** Defines a struct ident_calendar whose elements are of type struct
14  * ident_action. */
15 TAILQ_HEAD(ident_calendar, ident_action);
16
17 #endif  /* _CALENDAR_H_ */