diff options
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
1 files changed, 8 insertions, 0 deletions
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, | |||
441 | struct GNUNET_NAMESTORE_RecordData *dest); | 441 | struct GNUNET_NAMESTORE_RecordData *dest); |
442 | 442 | ||
443 | 443 | ||
444 | /** | ||
445 | * Checks if a name is wellformed | ||
446 | * | ||
447 | * @param name the name to check | ||
448 | * @return GNUNET_OK on success, GNUNET_SYSERR on error | ||
449 | */ | ||
450 | int | ||
451 | GNUNET_NAMESTORE_check_name (const char * name); | ||
444 | 452 | ||
445 | /** | 453 | /** |
446 | * Convert the 'value' of a record to a string. | 454 | * Convert the 'value' of a record to a string. |