-build namestore
authorChristian Grothoff <christian@grothoff.org>
Tue, 13 Aug 2013 13:26:13 +0000 (13:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 13 Aug 2013 13:26:13 +0000 (13:26 +0000)
src/Makefile.am
src/include/gnunet_namestore_plugin.h
src/namestore/Makefile.am

index d8d3fbf572bb4a677e84d7beb011c046e78fae39..1c1f0b541d9350c05f404fa4cf3863429c53494b 100644 (file)
@@ -65,6 +65,7 @@ SUBDIRS = \
   dns \
   identity \
   set \
+  namestore \
   fs \
   $(LINUX_DIR) \
   $(MINGW_DIR) \
index 6ac0038bafe30e54a38c6b91cf2d6a8cd5ba45ca..9a6a004624af618d245db03fa6cd09a1420f6671 100644 (file)
@@ -82,7 +82,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
    *
    * @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 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @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 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @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 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @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 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @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,
index 5a9675517e3bde08ed13ffd233062d788e1754cd..7c602ac13408aea6385561c0aadf48ec0c077fc0 100644 (file)
@@ -36,6 +36,9 @@ endif
 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 @@ check_PROGRAMS = \
  test_namestore_api_sign_verify
 endif
 
+# end of 'HAVE_EXPERIMENTAL' for testcases 
+endif
+
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif