summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-12-23 16:08:40 +0000
committerLennart Poettering <lennart@poettering.net>2004-12-23 16:08:40 +0000
commit33ccd714ea9469b5b7d3b36bbe468ba1b0f31dfc (patch)
tree833e8c3331b1f2d9a3e16c131852bf7fe1a00998 /cache.h
parent2095aa52444f9ab598475ddcf8ca1773a02f8e13 (diff)
initial commit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@3 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/cache.h b/cache.h
new file mode 100644
index 0000000..f2014df
--- /dev/null
+++ b/cache.h
@@ -0,0 +1,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