summaryrefslogtreecommitdiffstats
path: root/cache.h
blob: f2014dfd8c6a1037f90ed2190bb0f68bd1bb6b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef foocachehfoo
#define foocachehfoo

typedef enum {
    FLX_CACHE_VALID,
    FLX_CACHE_EXPIRY1,
    FLX_CACHE_EXPIRY2,
    FLX_CACHE_EXPIRY3
        
} flxCacheEntry;

typedef struct flxCacheEntry {
    GTimeVal timestamp;
    flxRecord rr;
    gint interface;
    flxAddress origin;

    flxCacheEntryState state;
    
} flxCacheEntry;

#endif