aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r--src/include/gnunet_namestore_service.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 36e912f51..ddfc912bc 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -136,6 +136,24 @@ typedef void (*GNUNET_NAMESTORE_RecordMonitor) (void *cls,
136 136
137 137
138/** 138/**
139 * Lookup an item in the namestore.
140 *
141 * @param h handle to the namestore
142 * @param pkey private key of the zone
143 * @param label name that is being mapped (at most 255 characters long)
144 * @param rm function to call with the result (with 0 records if we don't have that label)
145 * @param rm_cls closure for @a rm
146 * @return handle to abort the request
147 */
148struct GNUNET_NAMESTORE_QueueEntry *
149GNUNET_NAMESTORE_records_lookup (struct GNUNET_NAMESTORE_Handle *h,
150 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey,
151 const char *label,
152 GNUNET_NAMESTORE_RecordMonitor rm,
153 void *rm_cls);
154
155
156/**
139 * Look for an existing PKEY delegation record for a given public key. 157 * Look for an existing PKEY delegation record for a given public key.
140 * Returns at most one result to the processor. 158 * Returns at most one result to the processor.
141 * 159 *