gwenhywfar  4.6.0beta
Typedefs | Functions
passwdstore.h File Reference
#include <gwenhywfar/gwenhywfarapi.h>

Go to the source code of this file.

Typedefs

typedef struct GWEN_PASSWD_STORE GWEN_PASSWD_STORE

Functions

GWENHYWFAR_API void GWEN_PasswordStore_ClearStoragePasswd (GWEN_PASSWD_STORE *sto)
GWENHYWFAR_API void GWEN_PasswordStore_free (GWEN_PASSWD_STORE *sto)
GWENHYWFAR_API int GWEN_PasswordStore_GetPassword (GWEN_PASSWD_STORE *sto, const char *token, char *buffer, int minLen, int maxLen)
GWENHYWFAR_API GWEN_PASSWD_STOREGWEN_PasswordStore_new (const char *fname)
GWENHYWFAR_API int GWEN_PasswordStore_SetPassword (GWEN_PASSWD_STORE *sto, const char *token, const char *secret)

Typedef Documentation

Definition at line 36 of file passwdstore.h.

Function Documentation

GWENHYWFAR_API void GWEN_PasswordStore_ClearStoragePasswd ( GWEN_PASSWD_STORE sto)
GWENHYWFAR_API void GWEN_PasswordStore_free ( GWEN_PASSWD_STORE sto)
GWENHYWFAR_API int GWEN_PasswordStore_GetPassword ( GWEN_PASSWD_STORE sto,
const char *  token,
char *  buffer,
int  minLen,
int  maxLen 
)
GWENHYWFAR_API GWEN_PASSWD_STORE* GWEN_PasswordStore_new ( const char *  fname)

Definition at line 46 of file passwdstore.c.

References GWEN_NEW_OBJECT, and NULL.

Referenced by test10().

GWENHYWFAR_API int GWEN_PasswordStore_SetPassword ( GWEN_PASSWD_STORE sto,
const char *  token,
const char *  secret 
)