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_CredentialPluginFunctions
 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 to the corresponding type string (e.g. More...
 
typedef char *(* GNUNET_RECLAIM_CredentialValueToStringFunction) (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_CredentialStringToValueFunction) (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_CredentialTypenameToNumberFunction) (void *cls, const char *typename)
 Function called to convert a type name to the corresponding number. More...
 
typedef const char *(* GNUNET_RECLAIM_CredentialNumberToTypenameFunction) (void *cls, uint32_t type)
 Function called to convert a type number to the corresponding type string (e.g. More...
 
typedef struct GNUNET_RECLAIM_AttributeList *(* GNUNET_RECLAIM_CredentialGetAttributesFunction) (void *cls, const struct GNUNET_RECLAIM_Credential *cred)
 Function called to extract attributes from a credential. More...
 
typedef char *(* GNUNET_RECLAIM_CredentialGetIssuerFunction) (void *cls, const struct GNUNET_RECLAIM_Credential *cred)
 Function called to get the issuer of the credential (as string) More...
 
typedef int(* GNUNET_RECLAIM_CredentialGetExpirationFunction) (void *cls, const struct GNUNET_RECLAIM_Credential *cred, struct GNUNET_TIME_Absolute *expiration)
 Function called to get the expiration of the credential. More...
 
typedef char *(* GNUNET_RECLAIM_PresentationValueToStringFunction) (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_PresentationStringToValueFunction) (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_PresentationTypenameToNumberFunction) (void *cls, const char *typename)
 Function called to convert a type name to the corresponding number. More...
 
typedef const char *(* GNUNET_RECLAIM_PresentationNumberToTypenameFunction) (void *cls, uint32_t type)
 Function called to convert a type number to the corresponding type string (e.g. More...
 
typedef struct GNUNET_RECLAIM_AttributeList *(* GNUNET_RECLAIM_PresentationGetAttributesFunction) (void *cls, const struct GNUNET_RECLAIM_Presentation *cred)
 Function called to extract attributes from a credential. More...
 
typedef char *(* GNUNET_RECLAIM_PresentationGetIssuerFunction) (void *cls, const struct GNUNET_RECLAIM_Presentation *cred)
 Function called to get the issuer of the credential (as string) More...
 
typedef int(* GNUNET_RECLAIM_PresentationGetExpirationFunction) (void *cls, const struct GNUNET_RECLAIM_Presentation *cred, struct GNUNET_TIME_Absolute *expiration)
 Function called to get the expiration of the credential. More...
 
typedef int(* GNUNET_RECLAIM_CredentialToPresentation) (void *cls, const struct GNUNET_RECLAIM_Credential *cred, const struct GNUNET_RECLAIM_AttributeList *attrs, struct GNUNET_RECLAIM_Presentation **presentation)
 

Detailed Description

Author
Martin Schanzenbach

Plugin API for reclaim attribute types

Definition in file gnunet_reclaim_plugin.h.