- declaration
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 22 Mar 2012 12:06:13 +0000 (12:06 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 22 Mar 2012 12:06:13 +0000 (12:06 +0000)
src/include/gnunet_namestore_service.h

index 4f6f6a57d2f3343cb9d728d1ff9df6b5c3b57064..4fe809a806634a1b47e0f201f848a09d59aa294e 100644 (file)
@@ -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.