gwenhywfar  4.6.0beta
Typedefs | Functions
ctfile_be.h File Reference
#include <gwenhywfar/ct_be.h>

Go to the source code of this file.

Typedefs

typedef int GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_FILE_READ_FN )(GWEN_CRYPT_TOKEN *ct, int fd, uint32_t gid)
 
typedef int GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_FILE_WRITE_FN )(GWEN_CRYPT_TOKEN *ct, int fd, int cre, uint32_t gid)
 

Functions

GWENHYWFAR_API void GWEN_Crypt_TokenFile_AddContext (GWEN_CRYPT_TOKEN *ct, GWEN_CRYPT_TOKEN_CONTEXT *ctx)
 
GWENHYWFAR_API
GWEN_CRYPT_TOKEN_CONTEXT
GWEN_Crypt_TokenFile_GetContext (GWEN_CRYPT_TOKEN *ct, int idx)
 
GWENHYWFAR_API GWEN_CRYPT_TOKENGWEN_Crypt_TokenFile_new (const char *typeName, const char *tokenName)
 
GWENHYWFAR_API
GWEN_CRYPT_TOKEN_FILE_READ_FN 
GWEN_Crypt_TokenFile_SetReadFn (GWEN_CRYPT_TOKEN *ct, GWEN_CRYPT_TOKEN_FILE_READ_FN f)
 
GWENHYWFAR_API
GWEN_CRYPT_TOKEN_FILE_WRITE_FN 
GWEN_Crypt_TokenFile_SetWriteFn (GWEN_CRYPT_TOKEN *ct, GWEN_CRYPT_TOKEN_FILE_WRITE_FN f)
 

Typedef Documentation

typedef int GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_FILE_READ_FN)(GWEN_CRYPT_TOKEN *ct, int fd, uint32_t gid)

Definition at line 21 of file ctfile_be.h.

typedef int GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_FILE_WRITE_FN)(GWEN_CRYPT_TOKEN *ct, int fd, int cre, uint32_t gid)

Definition at line 24 of file ctfile_be.h.

Function Documentation

GWENHYWFAR_API void GWEN_Crypt_TokenFile_AddContext ( GWEN_CRYPT_TOKEN ct,
GWEN_CRYPT_TOKEN_CONTEXT ctx 
)

Definition at line 370 of file ctfile.c.

References GWEN_CTF_Context_IsOfThisType(), and GWEN_INHERIT_GETDATA.

GWENHYWFAR_API GWEN_CRYPT_TOKEN_CONTEXT* GWEN_Crypt_TokenFile_GetContext ( GWEN_CRYPT_TOKEN ct,
int  idx 
)

Definition at line 384 of file ctfile.c.

References GWEN_INHERIT_GETDATA, and NULL.

GWENHYWFAR_API GWEN_CRYPT_TOKEN* GWEN_Crypt_TokenFile_new ( const char *  typeName,
const char *  tokenName 
)

Definition at line 405 of file ctfile.c.

References GWEN_INHERIT_GETDATA.

Definition at line 422 of file ctfile.c.

References GWEN_INHERIT_GETDATA.