Plugin API for GNS record types. More...
Go to the source code of this file.
Data Structures | |
struct | GNUNET_GNSRECORD_PluginFunctions |
Each plugin is required to return a pointer to a struct of this type as the return value from its entry point. More... | |
Typedefs | |
typedef char *(* | GNUNET_GNSRECORD_ValueToStringFunction) (void *cls, uint32_t type, const void *data, size_t data_size) |
Function called to convert the binary value data of a record of type type to a human-readable string. More... | |
typedef int(* | GNUNET_GNSRECORD_StringToValueFunction) (void *cls, uint32_t type, const char *s, void **data, size_t *data_size) |
Function called to convert human-readable version of the value s of a record of type type to the respective binary representation. More... | |
typedef uint32_t(* | GNUNET_GNSRECORD_TypenameToNumberFunction) (void *cls, const char *dns_typename) |
Function called to convert a type name (e.g. More... | |
typedef const char *(* | GNUNET_GNSRECORD_NumberToTypenameFunction) (void *cls, uint32_t type) |
Function called to convert a type number to the corresponding type string (e.g. More... | |
typedef enum GNUNET_GenericReturnValue(* | GNUNET_GNSRECORD_IsCriticalFunction) (void *cls, uint32_t type) |
Function called to check for critical records. More... | |
Plugin API for GNS record types.
Definition in file gnunet_gnsrecord_plugin.h.