From: Matthias Wachs Date: Thu, 22 Mar 2012 12:06:13 +0000 (+0000) Subject: - declaration X-Git-Tag: initial-import-from-subversion-38251~14157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbaa8e25ee25e32786f202fabe7542459dee03e2;p=oweals%2Fgnunet.git - declaration --- 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.