[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30333 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30333 - gnunet/src/include |
Date: |
Fri, 18 Oct 2013 17:15:27 +0200 |
Author: grothoff
Date: 2013-10-18 17:15:27 +0200 (Fri, 18 Oct 2013)
New Revision: 30333
Modified:
gnunet/src/include/gnunet_namestore_service.h
Log:
-adding proposed namestore lookup call (API only for now)
Modified: gnunet/src/include/gnunet_namestore_service.h
===================================================================
--- gnunet/src/include/gnunet_namestore_service.h 2013-10-18 15:13:59 UTC
(rev 30332)
+++ gnunet/src/include/gnunet_namestore_service.h 2013-10-18 15:15:27 UTC
(rev 30333)
@@ -136,6 +136,24 @@
/**
+ * Lookup an item in the namestore.
+ *
+ * @param h handle to the namestore
+ * @param pkey private key of the zone
+ * @param label name that is being mapped (at most 255 characters long)
+ * @param rm function to call with the result (with 0 records if we don't have
that label)
+ * @param rm_cls closure for @a rm
+ * @return handle to abort the request
+ */
+struct GNUNET_NAMESTORE_QueueEntry *
+GNUNET_NAMESTORE_records_lookup (struct GNUNET_NAMESTORE_Handle *h,
+ const struct GNUNET_CRYPTO_EcdsaPrivateKey
*pkey,
+ const char *label,
+ GNUNET_NAMESTORE_RecordMonitor rm,
+ void *rm_cls);
+
+
+/**
* Look for an existing PKEY delegation record for a given public key.
* Returns at most one result to the processor.
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30333 - gnunet/src/include,
gnunet <=