aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_resolver.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-03-04 11:26:26 +0000
committerChristian Grothoff <christian@grothoff.org>2014-03-04 11:26:26 +0000
commit5c779811684d383940d6e3766ace4bdce7bc0ae6 (patch)
treec8aeeee7e987d8d69f8bd195f02428c49028f9ae /src/gns/gnunet-service-gns_resolver.h
parent6927a8b2ec77eb4403dab98ae7df8d9e882ba6ae (diff)
downloadgnunet-5c779811684d383940d6e3766ace4bdce7bc0ae6.tar.gz
gnunet-5c779811684d383940d6e3766ace4bdce7bc0ae6.zip
-presumably better fix for instantly resolving names in master zone
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r--src/gns/gnunet-service-gns_resolver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h
index ffb7142a7..baad44e38 100644
--- a/src/gns/gnunet-service-gns_resolver.h
+++ b/src/gns/gnunet-service-gns_resolver.h
@@ -26,6 +26,7 @@
26#define GNS_RESOLVER_H 26#define GNS_RESOLVER_H
27#include "gns.h" 27#include "gns.h"
28#include "gnunet_dht_service.h" 28#include "gnunet_dht_service.h"
29#include "gnunet_gns_service.h"
29#include "gnunet_namecache_service.h" 30#include "gnunet_namecache_service.h"
30 31
31/** 32/**
@@ -77,7 +78,7 @@ typedef void (*GNS_ResultProcessor)(void *cls,
77 * @param record_type the record type to look up 78 * @param record_type the record type to look up
78 * @param name the name to look up 79 * @param name the name to look up
79 * @param shorten_key optional private key for authority caching, can be NULL 80 * @param shorten_key optional private key for authority caching, can be NULL
80 * @param only_cached GNUNET_NO to only check locally not DHT for performance 81 * @param options options set to control local lookup
81 * @param proc the processor to call 82 * @param proc the processor to call
82 * @param proc_cls the closure to pass to @a proc 83 * @param proc_cls the closure to pass to @a proc
83 * @return handle to cancel operation 84 * @return handle to cancel operation
@@ -87,7 +88,7 @@ GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone,
87 uint32_t record_type, 88 uint32_t record_type,
88 const char *name, 89 const char *name,
89 const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_key, 90 const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_key,
90 int only_cached, 91 enum GNUNET_GNS_LocalOptions options,
91 GNS_ResultProcessor proc, 92 GNS_ResultProcessor proc,
92 void *proc_cls); 93 void *proc_cls);
93 94