diff options
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 1906aba45..4d04addf9 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -127,6 +127,7 @@ typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls, | |||
127 | * @param handle handle to the GNS service | 127 | * @param handle handle to the GNS service |
128 | * @param name the name to look up | 128 | * @param name the name to look up |
129 | * @param type the GNUNET_GNS_RecordType to look for | 129 | * @param type the GNUNET_GNS_RecordType to look for |
130 | * @param only_cached GNUNET_NO to only check locally not DHT for performance | ||
130 | * @param proc function to call on result | 131 | * @param proc function to call on result |
131 | * @param proc_cls closure for processor | 132 | * @param proc_cls closure for processor |
132 | * | 133 | * |
@@ -136,6 +137,7 @@ struct GNUNET_GNS_QueueEntry * | |||
136 | GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | 137 | GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, |
137 | const char * name, | 138 | const char * name, |
138 | enum GNUNET_GNS_RecordType type, | 139 | enum GNUNET_GNS_RecordType type, |
140 | int only_cached, | ||
139 | GNUNET_GNS_LookupResultProcessor proc, | 141 | GNUNET_GNS_LookupResultProcessor proc, |
140 | void *proc_cls); | 142 | void *proc_cls); |
141 | 143 | ||
@@ -148,6 +150,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
148 | * @param zone the zone to start the resolution in | 150 | * @param zone the zone to start the resolution in |
149 | * @param shorten_zone the zone where to shorten names into | 151 | * @param shorten_zone the zone where to shorten names into |
150 | * @param type the GNUNET_GNS_RecordType to look for | 152 | * @param type the GNUNET_GNS_RecordType to look for |
153 | * @param only_cached GNUNET_NO to only check locally not DHT for performance | ||
151 | * @param proc function to call on result | 154 | * @param proc function to call on result |
152 | * @param proc_cls closure for processor | 155 | * @param proc_cls closure for processor |
153 | * | 156 | * |
@@ -159,6 +162,7 @@ GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle, | |||
159 | struct GNUNET_CRYPTO_ShortHashCode *zone, | 162 | struct GNUNET_CRYPTO_ShortHashCode *zone, |
160 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, | 163 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, |
161 | enum GNUNET_GNS_RecordType type, | 164 | enum GNUNET_GNS_RecordType type, |
165 | int only_cached, | ||
162 | GNUNET_GNS_LookupResultProcessor proc, | 166 | GNUNET_GNS_LookupResultProcessor proc, |
163 | void *proc_cls); | 167 | void *proc_cls); |
164 | 168 | ||