]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
added ipv6 flag
authorMiek Gieben <miekg@NLnetLabs.nl>
Wed, 12 Jan 2005 12:35:43 +0000 (12:35 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Wed, 12 Jan 2005 12:35:43 +0000 (12:35 +0000)
ldns/resolver.h
net.c
resolver.c

index 5f86ff88325be0a890c502d6c2b3b1dcdba1a0fa..78b9b4b9fd7a1be5dc10f29ca0c513af95511c2e 100644 (file)
@@ -52,6 +52,8 @@ struct ldns_struct_resolver
        uint8_t _usevc;
        /** \brief Wether to ignore the tc bit */
        uint8_t _igntc;
+       /** \brief Wether to use ip6 */
+       uint8_t _ip6;
        
 };
        
diff --git a/net.c b/net.c
index eb3d5a7c3a4ecbab39b14f7a3ba2db5b554565ec..b9e9242663d12fcf6703ffaa789b406e01e25660 100644 (file)
--- a/net.c
+++ b/net.c
@@ -18,3 +18,7 @@
 #include <ldns/resolver.h>
 
 #include "util.h"
+
+
+/* send of an packet and return any reply packet(s)
+ */
index 4547f431d6da71a97efff21e814f70d1f992e9a5..007535b18916ed904ae21a93135db7bc9f3a63c6 100644 (file)
@@ -178,6 +178,10 @@ ldns_send(ldns_resolver *r, uint8_t *name, uint8_t *type, uint8_t *class)
 {
        assert(r != NULL);
        assert(name != NULL);
+       
+       /* do all the preprocessing here, then fire of an query to 
+        * the network
+        */
 
        return NULL;
 }