gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28566 - in gnunet/src: . include namestore


From: gnunet
Subject: [GNUnet-SVN] r28566 - in gnunet/src: . include namestore
Date: Tue, 13 Aug 2013 15:26:13 +0200

Author: grothoff
Date: 2013-08-13 15:26:13 +0200 (Tue, 13 Aug 2013)
New Revision: 28566

Modified:
   gnunet/src/Makefile.am
   gnunet/src/include/gnunet_namestore_plugin.h
   gnunet/src/namestore/Makefile.am
Log:
-build namestore

Modified: gnunet/src/Makefile.am
===================================================================
--- gnunet/src/Makefile.am      2013-08-13 13:25:05 UTC (rev 28565)
+++ gnunet/src/Makefile.am      2013-08-13 13:26:13 UTC (rev 28566)
@@ -65,6 +65,7 @@
   dns \
   identity \
   set \
+  namestore \
   fs \
   $(LINUX_DIR) \
   $(MINGW_DIR) \

Modified: gnunet/src/include/gnunet_namestore_plugin.h
===================================================================
--- gnunet/src/include/gnunet_namestore_plugin.h        2013-08-13 13:25:05 UTC 
(rev 28565)
+++ gnunet/src/include/gnunet_namestore_plugin.h        2013-08-13 13:26:13 UTC 
(rev 28566)
@@ -82,7 +82,7 @@
    *
    * @param cls closure (internal context for the plugin)
    * @param block block to cache
-   * @return GNUNET_OK on success, else GNUNET_SYSERR
+   * @return #GNUNET_OK on success, else #GNUNET_SYSERR
    */
   int (*cache_block) (void *cls, 
                      const struct GNUNET_NAMESTORE_Block *block);
@@ -96,8 +96,7 @@
    * @param query hash of public key derived from the zone and the label
    * @param iter function to call with the result
    * @param iter_cls closure for iter
-   * @return GNUNET_OK on success, GNUNET_NO if there were no results, 
GNUNET_SYSERR on error
-   *         'iter' will have been called unless the return value is 
'GNUNET_SYSERR'
+   * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, 
#GNUNET_SYSERR on error
    */
   int (*lookup_block) (void *cls, 
                       const struct GNUNET_HashCode *query,
@@ -112,9 +111,9 @@
    * @param cls closure (internal context for the plugin)
    * @param zone private key of the zone
    * @param label name of the record in the zone
-   * @param rd_count number of entries in 'rd' array, 0 to delete all records
+   * @param rd_count number of entries in @a rd array, 0 to delete all records
    * @param rd array of records with data to store
-   * @return GNUNET_OK on success, else GNUNET_SYSERR
+   * @return #GNUNET_OK on success, else #GNUNET_SYSERR
    */
   int (*store_records) (void *cls, 
                        const struct GNUNET_CRYPTO_EccPrivateKey *zone,
@@ -132,8 +131,7 @@
    * @param offset offset in the list of all matching records
    * @param iter function to call with the result
    * @param iter_cls closure for iter
-   * @return GNUNET_OK on success, GNUNET_NO if there were no results, 
GNUNET_SYSERR on error
-   *       'iter' will have been called unless the return value is 
'GNUNET_SYSERR'
+   * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, 
#GNUNET_SYSERR on error
    */
   int (*iterate_records) (void *cls, 
                          const struct GNUNET_CRYPTO_EccPrivateKey *zone,
@@ -150,8 +148,7 @@
    * @param value_zone public key of the target zone (value), never NULL
    * @param iter function to call with the result
    * @param iter_cls closure for iter
-   * @return GNUNET_OK on success, GNUNET_NO if there were no results, 
GNUNET_SYSERR on error
-   *       'iter' will have been called unless the return value is 
'GNUNET_SYSERR'
+   * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, 
#GNUNET_SYSERR on error
    */
   int (*zone_to_name) (void *cls, 
                       const struct GNUNET_CRYPTO_EccPrivateKey *zone,

Modified: gnunet/src/namestore/Makefile.am
===================================================================
--- gnunet/src/namestore/Makefile.am    2013-08-13 13:25:05 UTC (rev 28565)
+++ gnunet/src/namestore/Makefile.am    2013-08-13 13:26:13 UTC (rev 28566)
@@ -36,6 +36,9 @@
 endif
 endif
 
+# testcases do not even build yet; thus: experimental!
+if HAVE_EXPERIMENTAL
+
 if HAVE_TESTING
 TESTING_TESTS = \
  test_namestore_api \
@@ -62,6 +65,9 @@
  test_namestore_api_sign_verify
 endif
 
+# end of 'HAVE_EXPERIMENTAL' for testcases 
+endif
+
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]