Importing all of DRL, including ulogd and all of its files.
[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 identity
14  * (identity_t) */
15 TAILQ_HEAD(ident_calendar, identity);
16
17
18 #endif  /* _CALENDAR_H_ */