pininfo.h File Reference
#include <gwenhywfar/db.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/types.h>
#include <gwenhywfar/cryptdefs.h>
#include <chipcard/chipcard.h>
Go to the source code of this file.
Typedefs |
typedef struct LC_PININFO | LC_PININFO |
Functions |
CHIPCARD_API void | LC_PinInfo_List2_freeAll (LC_PININFO_LIST2 *stl) |
CHIPCARD_API LC_PININFO * | LC_PinInfo_new () |
CHIPCARD_API LC_PININFO * | LC_PinInfo_fromDb (GWEN_DB_NODE *db) |
CHIPCARD_API LC_PININFO * | LC_PinInfo_dup (const LC_PININFO *st) |
CHIPCARD_API void | LC_PinInfo_free (LC_PININFO *st) |
CHIPCARD_API void | LC_PinInfo_Attach (LC_PININFO *st) |
CHIPCARD_API int | LC_PinInfo_ReadDb (LC_PININFO *st, GWEN_DB_NODE *db) |
CHIPCARD_API int | LC_PinInfo_toDb (const LC_PININFO *st, GWEN_DB_NODE *db) |
CHIPCARD_API int | LC_PinInfo_IsModified (const LC_PININFO *st) |
CHIPCARD_API void | LC_PinInfo_SetModified (LC_PININFO *st, int i) |
CHIPCARD_API const char * | LC_PinInfo_GetName (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetName (LC_PININFO *el, const char *d) |
CHIPCARD_API uint32_t | LC_PinInfo_GetId (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetId (LC_PININFO *el, uint32_t d) |
CHIPCARD_API GWEN_CRYPT_PINENCODING | LC_PinInfo_GetEncoding (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetEncoding (LC_PININFO *el, GWEN_CRYPT_PINENCODING d) |
CHIPCARD_API int | LC_PinInfo_GetMinLength (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetMinLength (LC_PININFO *el, int d) |
CHIPCARD_API int | LC_PinInfo_GetMaxLength (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetMaxLength (LC_PININFO *el, int d) |
CHIPCARD_API int | LC_PinInfo_GetAllowChange (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetAllowChange (LC_PININFO *el, int d) |
CHIPCARD_API int | LC_PinInfo_GetFiller (const LC_PININFO *el) |
CHIPCARD_API void | LC_PinInfo_SetFiller (LC_PININFO *el, int d) |
Typedef Documentation
Function Documentation
CHIPCARD_API void LC_PinInfo_List2_freeAll |
( |
LC_PININFO_LIST2 * |
stl |
) |
|
Destroys all objects stored in the given LIST2 and the list itself
CHIPCARD_API LC_PININFO* LC_PinInfo_fromDb |
( |
GWEN_DB_NODE * |
db |
) |
|
Creates an object from the data in the given GWEN_DB_NODE
Creates and returns a deep copy of thegiven object.
CHIPCARD_API void LC_PinInfo_free |
( |
LC_PININFO * |
st |
) |
|
Destroys the given object.
CHIPCARD_API void LC_PinInfo_Attach |
( |
LC_PININFO * |
st |
) |
|
Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
CHIPCARD_API int LC_PinInfo_ReadDb |
( |
LC_PININFO * |
st, |
|
|
GWEN_DB_NODE * |
db | |
|
) |
| | |
Reads data from a GWEN_DB.
CHIPCARD_API int LC_PinInfo_toDb |
( |
const LC_PININFO * |
st, |
|
|
GWEN_DB_NODE * |
db | |
|
) |
| | |
Stores an object in the given GWEN_DB_NODE
CHIPCARD_API int LC_PinInfo_IsModified |
( |
const LC_PININFO * |
st |
) |
|
Returns 0 if this object has not been modified, !=0 otherwise
CHIPCARD_API void LC_PinInfo_SetModified |
( |
LC_PININFO * |
st, |
|
|
int |
i | |
|
) |
| | |
Sets the modified state of the given object
CHIPCARD_API const char* LC_PinInfo_GetName |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetName |
( |
LC_PININFO * |
el, |
|
|
const char * |
d | |
|
) |
| | |
CHIPCARD_API uint32_t LC_PinInfo_GetId |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetId |
( |
LC_PININFO * |
el, |
|
|
uint32_t |
d | |
|
) |
| | |
CHIPCARD_API GWEN_CRYPT_PINENCODING LC_PinInfo_GetEncoding |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetEncoding |
( |
LC_PININFO * |
el, |
|
|
GWEN_CRYPT_PINENCODING |
d | |
|
) |
| | |
CHIPCARD_API int LC_PinInfo_GetMinLength |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetMinLength |
( |
LC_PININFO * |
el, |
|
|
int |
d | |
|
) |
| | |
CHIPCARD_API int LC_PinInfo_GetMaxLength |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetMaxLength |
( |
LC_PININFO * |
el, |
|
|
int |
d | |
|
) |
| | |
CHIPCARD_API int LC_PinInfo_GetAllowChange |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetAllowChange |
( |
LC_PININFO * |
el, |
|
|
int |
d | |
|
) |
| | |
CHIPCARD_API int LC_PinInfo_GetFiller |
( |
const LC_PININFO * |
el |
) |
|
CHIPCARD_API void LC_PinInfo_SetFiller |
( |
LC_PININFO * |
el, |
|
|
int |
d | |
|
) |
| | |