pininfo.h File Reference

#include <gwenhywfar/db.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/types.h>
#include <chipcard3/chipcard3.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

Enumerations

enum  LC_PININFO_ENCODING {
  LC_PinInfo_EncodingUnknown = -1, LC_PinInfo_EncodingNone = 0, LC_PinInfo_EncodingBin, LC_PinInfo_EncodingBcd,
  LC_PinInfo_EncodingAscii, LC_PinInfo_EncodingFpin2
}

Functions

LC_PININFO_ENCODING LC_PinInfo_Encoding_fromString (const char *s)
const char * LC_PinInfo_Encoding_toString (LC_PININFO_ENCODING v)
CHIPCARD_API void LC_PinInfo_List2_freeAll (LC_PININFO_LIST2 *stl)
CHIPCARD_API LC_PININFO_LIST2 * LC_PinInfo_List2_dup (const LC_PININFO_LIST2 *stl)
CHIPCARD_API LC_PININFOLC_PinInfo_new ()
CHIPCARD_API void LC_PinInfo_free (LC_PININFO *st)
CHIPCARD_API void LC_PinInfo_Attach (LC_PININFO *st)
CHIPCARD_API LC_PININFOLC_PinInfo_dup (const LC_PININFO *st)
CHIPCARD_API LC_PININFOLC_PinInfo_fromDb (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 GWEN_TYPE_UINT32 LC_PinInfo_GetId (const LC_PININFO *el)
CHIPCARD_API void LC_PinInfo_SetId (LC_PININFO *el, GWEN_TYPE_UINT32 d)
CHIPCARD_API LC_PININFO_ENCODING LC_PinInfo_GetEncoding (const LC_PININFO *el)
CHIPCARD_API void LC_PinInfo_SetEncoding (LC_PININFO *el, LC_PININFO_ENCODING 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

typedef struct LC_PININFO LC_PININFO


Enumeration Type Documentation

Enumerator:
LC_PinInfo_EncodingUnknown 
LC_PinInfo_EncodingNone  No encoding given.
LC_PinInfo_EncodingBin  Binary encoding.
LC_PinInfo_EncodingBcd  BCD encoding.
LC_PinInfo_EncodingAscii  ASCII encoding
LC_PinInfo_EncodingFpin2  FPIN2 encoding


Function Documentation

LC_PININFO_ENCODING LC_PinInfo_Encoding_fromString ( const char *  s  ) 

const char* LC_PinInfo_Encoding_toString ( LC_PININFO_ENCODING  v  ) 

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_LIST2* LC_PinInfo_List2_dup ( const LC_PININFO_LIST2 *  stl  ) 

Creates a deep copy of the given LIST2.

CHIPCARD_API LC_PININFO* LC_PinInfo_new (  ) 

Creates a new 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 LC_PININFO* LC_PinInfo_dup ( const LC_PININFO st  ) 

Creates and returns a deep copy of thegiven object.

CHIPCARD_API LC_PININFO* LC_PinInfo_fromDb ( GWEN_DB_NODE *  db  ) 

Creates an object from the data in the given GWEN_DB_NODE

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  ) 

Returns the property LC_PININFO_Name

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

Set the property LC_PININFO_Name

CHIPCARD_API GWEN_TYPE_UINT32 LC_PinInfo_GetId ( const LC_PININFO el  ) 

Returns the property LC_PININFO_Id

CHIPCARD_API void LC_PinInfo_SetId ( LC_PININFO el,
GWEN_TYPE_UINT32  d 
)

Set the property LC_PININFO_Id

CHIPCARD_API LC_PININFO_ENCODING LC_PinInfo_GetEncoding ( const LC_PININFO el  ) 

Returns the property LC_PININFO_Encoding

CHIPCARD_API void LC_PinInfo_SetEncoding ( LC_PININFO el,
LC_PININFO_ENCODING  d 
)

Set the property LC_PININFO_Encoding

CHIPCARD_API int LC_PinInfo_GetMinLength ( const LC_PININFO el  ) 

Returns the property LC_PININFO_MinLength

CHIPCARD_API void LC_PinInfo_SetMinLength ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_MinLength

CHIPCARD_API int LC_PinInfo_GetMaxLength ( const LC_PININFO el  ) 

Returns the property LC_PININFO_MaxLength

CHIPCARD_API void LC_PinInfo_SetMaxLength ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_MaxLength

CHIPCARD_API int LC_PinInfo_GetAllowChange ( const LC_PININFO el  ) 

Returns the property LC_PININFO_AllowChange

CHIPCARD_API void LC_PinInfo_SetAllowChange ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_AllowChange

CHIPCARD_API int LC_PinInfo_GetFiller ( const LC_PININFO el  ) 

Returns the property LC_PININFO_Filler

CHIPCARD_API void LC_PinInfo_SetFiller ( LC_PININFO el,
int  d 
)

Set the property LC_PININFO_Filler


Generated on Wed Dec 3 19:29:35 2008 for libchipcard2 by  doxygen 1.5.6