gwenhywfar 5.12.0
passwdstore.h File Reference
#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/stringlist.h>
Include dependency graph for passwdstore.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 int GWEN_PasswordStore_GetTokenList (GWEN_PASSWD_STORE *sto, GWEN_STRINGLIST *sl)
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

◆ GWEN_PASSWD_STORE

Definition at line 37 of file passwdstore.h.

Function Documentation

◆ GWEN_PasswordStore_ClearStoragePasswd()

GWENHYWFAR_API void GWEN_PasswordStore_ClearStoragePasswd ( GWEN_PASSWD_STORE * sto)

Definition at line 76 of file passwdstore.c.

References GWEN_DB_Group_free(), GWEN_DB_ModifyBranchFlagsDown(), GWEN_DB_NODE_FLAGS_SAFE, and NULL.

Referenced by GWEN_Gui_Internal_SetPasswordStatus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_PasswordStore_free()

GWENHYWFAR_API void GWEN_PasswordStore_free ( GWEN_PASSWD_STORE * sto)

Definition at line 60 of file passwdstore.c.

References GWEN_DB_Group_free(), GWEN_DB_ModifyBranchFlagsDown(), GWEN_DB_NODE_FLAGS_SAFE, GWEN_FREE_OBJECT, and NULL.

Referenced by GWEN_Gui_free(), GWEN_Gui_SetPasswdStore(), and showPasswords().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_PasswordStore_GetPassword()

GWENHYWFAR_API int GWEN_PasswordStore_GetPassword ( GWEN_PASSWD_STORE * sto,
const char * token,
char * buffer,
int minLen,
int maxLen )

◆ GWEN_PasswordStore_GetTokenList()

◆ GWEN_PasswordStore_new()

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 showPasswords(), and test10().

Here is the caller graph for this function:

◆ GWEN_PasswordStore_SetPassword()