summaryrefslogtreecommitdiffstats
path: root/rr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-04-14 01:41:09 +0000
committerLennart Poettering <lennart@poettering.net>2005-04-14 01:41:09 +0000
commit0a985aa6c5453fe09bf0a3a79fe66d49c698b309 (patch)
tree6ce11667f3d215a8dfeba11589b081ca29414557 /rr.h
parentfc174c871b4f85e558766c1ca55661fa7b1b4c9a (diff)
add client part of probing
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@25 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'rr.h')
-rw-r--r--rr.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/rr.h b/rr.h
index 1ba6d95..483fcaa 100644
--- a/rr.h
+++ b/rr.h
@@ -21,7 +21,8 @@ enum {
};
enum {
- FLX_DNS_CLASS_IN = 0x01
+ FLX_DNS_CLASS_IN = 0x01,
+ FLX_DNS_CACHE_FLUSH = 0x8000
};
#define FLX_DEFAULT_TTL (120*60)
@@ -103,4 +104,12 @@ gboolean flx_record_equal_no_ttl(const flxRecord *a, const flxRecord *b);
flxRecord *flx_record_copy(flxRecord *r);
+/* returns a maximum estimate for the space that is needed to store
+ * this key in a DNS packet */
+guint flx_key_get_estimate_size(flxKey *k);
+
+/* ditto */
+guint flx_record_get_estimate_size(flxRecord *r);
+
+
#endif