GNUnet  0.11.x
Data Structures | Typedefs
gnunet_reclaim_plugin.h File Reference
#include "gnunet_util_lib.h"
#include "gnunet_reclaim_lib.h"
Include dependency graph for gnunet_reclaim_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GNUNET_RECLAIM_AttributePluginFunctions
 Each plugin is required to return a pointer to a struct of this type as the return value from its entry point. More...
 
struct  GNUNET_RECLAIM_AttestationPluginFunctions
 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_RECLAIM_AttributeValueToStringFunction) (void *cls, uint32_t type, const void *data, size_t data_size)
 Function called to convert the binary value data of an attribute of type type to a human-readable string. More...
 
typedef int(* GNUNET_RECLAIM_AttributeStringToValueFunction) (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 an attribute of type type to the respective binary representation. More...
 
typedef uint32_t(* GNUNET_RECLAIM_AttributeTypenameToNumberFunction) (void *cls, const char *typename)
 Function called to convert a type name to the corresponding number. More...
 
typedef const char *(* GNUNET_RECLAIM_AttributeNumberToTypenameFunction) (void *cls, uint32_t type)
 Function called to convert a type number (i.e. More...
 
typedef char *(* GNUNET_RECLAIM_AttestationValueToStringFunction) (void *cls, uint32_t type, const void *data, size_t data_size)
 Function called to convert the binary value data of an attribute of type type to a human-readable string. More...
 
typedef int(* GNUNET_RECLAIM_AttestationStringToValueFunction) (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 an attribute of type type to the respective binary representation. More...
 
typedef uint32_t(* GNUNET_RECLAIM_AttestationTypenameToNumberFunction) (void *cls, const char *typename)
 Function called to convert a type name to the corresponding number. More...
 
typedef const char *(* GNUNET_RECLAIM_AttestationNumberToTypenameFunction) (void *cls, uint32_t type)
 Function called to convert a type number (i.e. More...
 
typedef struct GNUNET_RECLAIM_AttributeList *(* GNUNET_RECLAIM_AttestationGetAttributesFunction) (void *cls, const struct GNUNET_RECLAIM_Attestation *attest)
 Function called to extract attributes from an attestation. More...
 
typedef char *(* GNUNET_RECLAIM_AttestationGetIssuerFunction) (void *cls, const struct GNUNET_RECLAIM_Attestation *attest)
 Function called to get the issuer of the attestation (as string) More...
 
typedef int(* GNUNET_RECLAIM_AttestationGetExpirationFunction) (void *cls, const struct GNUNET_RECLAIM_Attestation *attest, struct GNUNET_TIME_Absolute *expiration)
 Function called to get the expiration of the attestation. More...
 

Detailed Description

Author
Martin Schanzenbach

Plugin API for reclaim attribute types

Definition in file gnunet_reclaim_plugin.h.