aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_resolver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-16 11:39:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-16 11:39:55 +0000
commitb3db33d5679f3d4f05802d360da3d8a2fd7192f1 (patch)
treeb1ad38add710bceba3b13261174cfb0507bcf0c2 /src/gns/gnunet-service-gns_resolver.c
parentb6bfed8309e6b9b3286b8f608ad899bfb0a97205 (diff)
downloadgnunet-b3db33d5679f3d4f05802d360da3d8a2fd7192f1.tar.gz
gnunet-b3db33d5679f3d4f05802d360da3d8a2fd7192f1.zip
-rename fest for symbols moved from GNUNET_NAMESTORE_ to new GNUNET_GNSRECORD_ library
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r--src/gns/gnunet-service-gns_resolver.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c
index f8b7e1a42..9b55dfcfc 100644
--- a/src/gns/gnunet-service-gns_resolver.c
+++ b/src/gns/gnunet-service-gns_resolver.c
@@ -1100,7 +1100,7 @@ vpn_allocation_cb (void *cls,
1100 rd)); 1100 rd));
1101 for (i=0;i<vpn_ctx->rd_count;i++) 1101 for (i=0;i<vpn_ctx->rd_count;i++)
1102 { 1102 {
1103 if (GNUNET_NAMESTORE_TYPE_VPN == rd[i].record_type) 1103 if (GNUNET_GNSRECORD_TYPE_VPN == rd[i].record_type)
1104 { 1104 {
1105 switch (af) 1105 switch (af)
1106 { 1106 {
@@ -1204,7 +1204,7 @@ handle_gns_resolution_result (void *cls,
1204 { 1204 {
1205 switch (rd[i].record_type) 1205 switch (rd[i].record_type)
1206 { 1206 {
1207 case GNUNET_NAMESTORE_TYPE_VPN: 1207 case GNUNET_GNSRECORD_TYPE_VPN:
1208 { 1208 {
1209 af = (GNUNET_DNSPARSER_TYPE_A == rh->record_type) ? AF_INET : AF_INET6; 1209 af = (GNUNET_DNSPARSER_TYPE_A == rh->record_type) ? AF_INET : AF_INET6;
1210 if (sizeof (struct GNUNET_TUN_GnsVpnRecord) < 1210 if (sizeof (struct GNUNET_TUN_GnsVpnRecord) <
@@ -1247,7 +1247,7 @@ handle_gns_resolution_result (void *cls,
1247 rh); 1247 rh);
1248 return; 1248 return;
1249 } 1249 }
1250 case GNUNET_NAMESTORE_TYPE_GNS2DNS: 1250 case GNUNET_GNSRECORD_TYPE_GNS2DNS:
1251 { 1251 {
1252 /* delegation to DNS */ 1252 /* delegation to DNS */
1253 goto do_recurse; 1253 goto do_recurse;
@@ -1418,7 +1418,7 @@ handle_gns_resolution_result (void *cls,
1418 GNUNET_DNSPARSER_free_srv (srv); 1418 GNUNET_DNSPARSER_free_srv (srv);
1419 } 1419 }
1420 break; 1420 break;
1421 case GNUNET_NAMESTORE_TYPE_PKEY: 1421 case GNUNET_GNSRECORD_TYPE_PKEY:
1422 /* tigger shortening */ 1422 /* tigger shortening */
1423 if (NULL != rh->shorten_key) 1423 if (NULL != rh->shorten_key)
1424 { 1424 {
@@ -1453,7 +1453,7 @@ handle_gns_resolution_result (void *cls,
1453 { 1453 {
1454 switch (rd[i].record_type) 1454 switch (rd[i].record_type)
1455 { 1455 {
1456 case GNUNET_NAMESTORE_TYPE_PKEY: 1456 case GNUNET_GNSRECORD_TYPE_PKEY:
1457 /* delegation to another zone */ 1457 /* delegation to another zone */
1458 if (sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) != 1458 if (sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) !=
1459 rd[i].data_size) 1459 rd[i].data_size)
@@ -1484,7 +1484,7 @@ handle_gns_resolution_result (void *cls,
1484 rh->task_id = GNUNET_SCHEDULER_add_now (&recursive_resolution, 1484 rh->task_id = GNUNET_SCHEDULER_add_now (&recursive_resolution,
1485 rh); 1485 rh);
1486 return; 1486 return;
1487 case GNUNET_NAMESTORE_TYPE_GNS2DNS: 1487 case GNUNET_GNSRECORD_TYPE_GNS2DNS:
1488 { 1488 {
1489 char *ns; 1489 char *ns;
1490 /* resolution continues within DNS */ 1490 /* resolution continues within DNS */