libchipcard  5.1.0beta
Typedefs | Functions
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>
Include dependency graph for pininfo.h:
This graph shows which files directly or indirectly include this file:

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_PININFOLC_PinInfo_new (void)
 
CHIPCARD_API LC_PININFOLC_PinInfo_fromDb (GWEN_DB_NODE *db)
 
CHIPCARD_API LC_PININFOLC_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 int LC_PinInfo_GetEncoding (const LC_PININFO *el)
 
CHIPCARD_API void LC_PinInfo_SetEncoding (LC_PININFO *el, int 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

◆ LC_PININFO

typedef struct LC_PININFO LC_PININFO

Function Documentation

◆ LC_PinInfo_List2_freeAll()

CHIPCARD_API void LC_PinInfo_List2_freeAll ( LC_PININFO_LIST2 *  stl)

Destroys all objects stored in the given LIST2 and the list itself

◆ LC_PinInfo_new()

CHIPCARD_API LC_PININFO* LC_PinInfo_new ( void  )

Creates a new object.

◆ LC_PinInfo_fromDb()

CHIPCARD_API LC_PININFO* LC_PinInfo_fromDb ( GWEN_DB_NODE *  db)

Creates an object from the data in the given GWEN_DB_NODE

◆ LC_PinInfo_dup()

CHIPCARD_API LC_PININFO* LC_PinInfo_dup ( const LC_PININFO st)

Creates and returns a deep copy of thegiven object.

◆ LC_PinInfo_free()

CHIPCARD_API void LC_PinInfo_free ( LC_PININFO st)

Destroys the given object.

◆ LC_PinInfo_Attach()

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.

◆ LC_PinInfo_ReadDb()

CHIPCARD_API int LC_PinInfo_ReadDb ( LC_PININFO st,
GWEN_DB_NODE *  db 
)

Reads data from a GWEN_DB.

◆ LC_PinInfo_toDb()

CHIPCARD_API int LC_PinInfo_toDb ( const LC_PININFO st,
GWEN_DB_NODE *  db 
)

Stores an object in the given GWEN_DB_NODE

◆ LC_PinInfo_IsModified()

CHIPCARD_API int LC_PinInfo_IsModified ( const LC_PININFO st)

Returns 0 if this object has not been modified, !=0 otherwise

◆ LC_PinInfo_SetModified()

CHIPCARD_API void LC_PinInfo_SetModified ( LC_PININFO st,
int  i 
)

Sets the modified state of the given object

◆ LC_PinInfo_GetName()

CHIPCARD_API const char* LC_PinInfo_GetName ( const LC_PININFO el)

Returns the property LC_PININFO_Name

◆ LC_PinInfo_SetName()

CHIPCARD_API void LC_PinInfo_SetName ( LC_PININFO el,
const char *  d 
)

Set the property LC_PININFO_Name

◆ LC_PinInfo_GetId()

CHIPCARD_API uint32_t LC_PinInfo_GetId ( const LC_PININFO el)

Returns the property LC_PININFO_Id

◆ LC_PinInfo_SetId()

CHIPCARD_API void LC_PinInfo_SetId ( LC_PININFO el,
uint32_t  d 
)

Set the property LC_PININFO_Id

◆ LC_PinInfo_GetEncoding()

CHIPCARD_API int LC_PinInfo_GetEncoding ( const LC_PININFO el)

Returns the property LC_PININFO_Encoding

◆ LC_PinInfo_SetEncoding()

CHIPCARD_API void LC_PinInfo_SetEncoding ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_Encoding

◆ LC_PinInfo_GetMinLength()

CHIPCARD_API int LC_PinInfo_GetMinLength ( const LC_PININFO el)

Returns the property LC_PININFO_MinLength

◆ LC_PinInfo_SetMinLength()

CHIPCARD_API void LC_PinInfo_SetMinLength ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_MinLength

◆ LC_PinInfo_GetMaxLength()

CHIPCARD_API int LC_PinInfo_GetMaxLength ( const LC_PININFO el)

Returns the property LC_PININFO_MaxLength

◆ LC_PinInfo_SetMaxLength()

CHIPCARD_API void LC_PinInfo_SetMaxLength ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_MaxLength

◆ LC_PinInfo_GetAllowChange()

CHIPCARD_API int LC_PinInfo_GetAllowChange ( const LC_PININFO el)

Returns the property LC_PININFO_AllowChange

◆ LC_PinInfo_SetAllowChange()

CHIPCARD_API void LC_PinInfo_SetAllowChange ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_AllowChange

◆ LC_PinInfo_GetFiller()

CHIPCARD_API int LC_PinInfo_GetFiller ( const LC_PININFO el)

Returns the property LC_PININFO_Filler

◆ LC_PinInfo_SetFiller()

CHIPCARD_API void LC_PinInfo_SetFiller ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_Filler