From acd08b65a860450488d5e6b5403e43bed3748dc9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 Apr 2010 13:07:27 +0000 Subject: nblock support done --- src/include/gnunet_fs_service.h | 2 ++ src/include/gnunet_signatures.h | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index e26d6b000..f24b3d8b7 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h @@ -2053,6 +2053,7 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc); * Publish an advertismement for a namespace. * * @param h handle to the file sharing subsystem + * @param ksk_uri keywords to use for advertisment * @param namespace handle for the namespace that should be advertised * @param meta meta-data for the namespace advertisement * @param anonymity for the namespace advertismement @@ -2064,6 +2065,7 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc); */ void GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, + struct GNUNET_FS_Uri *ksk_uri, struct GNUNET_FS_Namespace *namespace, const struct GNUNET_CONTAINER_MetaData *meta, uint32_t anonymity, diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h index 8b71bb616..29da16b42 100644 --- a/src/include/gnunet_signatures.h +++ b/src/include/gnunet_signatures.h @@ -81,10 +81,15 @@ extern "C" */ #define GNUNET_SIGNATURE_PURPOSE_FS_NBLOCK 7 +/** + * Keyword-based signature of advertisment for a namespace. + */ +#define GNUNET_SIGNATURE_PURPOSE_FS_NBLOCK_KSIG 8 + /** * */ -#define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 8 +#define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 9 #if 0 /* keep Emacsens' auto-indent happy */ -- cgit v1.2.3