From dbaa8e25ee25e32786f202fabe7542459dee03e2 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 22 Mar 2012 12:06:13 +0000 Subject: [PATCH] - declaration --- src/include/gnunet_namestore_service.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 4f6f6a57d..4fe809a80 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h @@ -441,6 +441,14 @@ GNUNET_NAMESTORE_records_deserialize (size_t len, struct GNUNET_NAMESTORE_RecordData *dest); +/** + * Checks if a name is wellformed + * + * @param name the name to check + * @return GNUNET_OK on success, GNUNET_SYSERR on error + */ +int +GNUNET_NAMESTORE_check_name (const char * name); /** * Convert the 'value' of a record to a string. -- 2.25.1