dns: switch to rk types, prefix types with rk_
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:19:36 +0000 (17:19 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:19:36 +0000 (17:19 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/principal.c

index 19ae7ad7f3971f488083bb5a7efbb2073bc018f5..7c33567530b379d40119a3367883aba201e73f5a 100644 (file)
@@ -952,23 +952,23 @@ krb5_425_conv_principal_ext2(krb5_context context,
        krb5_boolean passed = FALSE;
        char *inst = NULL;
 #ifdef USE_RESOLVER
-       struct dns_reply *r;
+       struct rk_dns_reply *r;
 
-       r = dns_lookup(instance, "aaaa");
+       r = rk_dns_lookup(instance, "aaaa");
        if (r) {
-           if (r->head && r->head->type == T_AAAA) {
+           if (r->head && r->head->type == rk_ns_t_aaaa) {
                inst = strdup(r->head->domain);
                passed = TRUE;
            }
-           dns_free_data(r);
+           rk_dns_free_data(r);
        } else {
-           r = dns_lookup(instance, "a");
+           r = rk_dns_lookup(instance, "a");
            if (r) {
-               if(r->head && r->head->type == T_A) {
+               if(r->head && r->head->type == rk_ns_t_a) {
                    inst = strdup(r->head->domain);
                    passed = TRUE;
                }
-               dns_free_data(r);
+               rk_dns_free_data(r);
            }
        }
 #else