starcos_keydescr.h File Reference

#include <gwenhywfar/db.h>
#include <chipcard/client/cards/starcos.h>
#include <chipcard/chipcard.h>
Include dependency graph for starcos_keydescr.h:

Go to the source code of this file.

Typedefs

typedef struct LC_STARCOS_KEYDESCR LC_STARCOS_KEYDESCR

Functions

CHIPCARD_API LC_STARCOS_KEYDESCRLC_Starcos_KeyDescr_new ()
CHIPCARD_API LC_STARCOS_KEYDESCRLC_Starcos_KeyDescr_fromDb (GWEN_DB_NODE *db)
CHIPCARD_API LC_STARCOS_KEYDESCRLC_Starcos_KeyDescr_dup (const LC_STARCOS_KEYDESCR *st)
CHIPCARD_API void LC_Starcos_KeyDescr_free (LC_STARCOS_KEYDESCR *st)
CHIPCARD_API void LC_Starcos_KeyDescr_Attach (LC_STARCOS_KEYDESCR *st)
CHIPCARD_API int LC_Starcos_KeyDescr_ReadDb (LC_STARCOS_KEYDESCR *st, GWEN_DB_NODE *db)
CHIPCARD_API int LC_Starcos_KeyDescr_toDb (const LC_STARCOS_KEYDESCR *st, GWEN_DB_NODE *db)
CHIPCARD_API int LC_Starcos_KeyDescr_IsModified (const LC_STARCOS_KEYDESCR *st)
CHIPCARD_API void LC_Starcos_KeyDescr_SetModified (LC_STARCOS_KEYDESCR *st, int i)
CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyId (const LC_STARCOS_KEYDESCR *el)
CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyId (LC_STARCOS_KEYDESCR *el, int d)
CHIPCARD_API int LC_Starcos_KeyDescr_GetStatus (const LC_STARCOS_KEYDESCR *el)
CHIPCARD_API void LC_Starcos_KeyDescr_SetStatus (LC_STARCOS_KEYDESCR *el, int d)
CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyType (const LC_STARCOS_KEYDESCR *el)
CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyType (LC_STARCOS_KEYDESCR *el, int d)
CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyNum (const LC_STARCOS_KEYDESCR *el)
CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyNum (LC_STARCOS_KEYDESCR *el, int d)
CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyVer (const LC_STARCOS_KEYDESCR *el)
CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyVer (LC_STARCOS_KEYDESCR *el, int d)

Typedef Documentation


Function Documentation

CHIPCARD_API LC_STARCOS_KEYDESCR* LC_Starcos_KeyDescr_new (  ) 

Creates a new object.

CHIPCARD_API LC_STARCOS_KEYDESCR* LC_Starcos_KeyDescr_fromDb ( GWEN_DB_NODE *  db  ) 

Creates an object from the data in the given GWEN_DB_NODE

CHIPCARD_API LC_STARCOS_KEYDESCR* LC_Starcos_KeyDescr_dup ( const LC_STARCOS_KEYDESCR st  ) 

Creates and returns a deep copy of thegiven object.

CHIPCARD_API void LC_Starcos_KeyDescr_free ( LC_STARCOS_KEYDESCR st  ) 

Destroys the given object.

CHIPCARD_API void LC_Starcos_KeyDescr_Attach ( LC_STARCOS_KEYDESCR st  ) 

Increments the usage counter of the given object, so an additional free() is needed to destroy the object.

CHIPCARD_API int LC_Starcos_KeyDescr_ReadDb ( LC_STARCOS_KEYDESCR st,
GWEN_DB_NODE *  db 
)

Reads data from a GWEN_DB.

CHIPCARD_API int LC_Starcos_KeyDescr_toDb ( const LC_STARCOS_KEYDESCR st,
GWEN_DB_NODE *  db 
)

Stores an object in the given GWEN_DB_NODE

CHIPCARD_API int LC_Starcos_KeyDescr_IsModified ( const LC_STARCOS_KEYDESCR st  ) 

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

CHIPCARD_API void LC_Starcos_KeyDescr_SetModified ( LC_STARCOS_KEYDESCR st,
int  i 
)

Sets the modified state of the given object

CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyId ( const LC_STARCOS_KEYDESCR el  ) 

Returns the property LC_STARCOS_KEYDESCR_KeyId

CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyId ( LC_STARCOS_KEYDESCR el,
int  d 
)

Set the property LC_STARCOS_KEYDESCR_KeyId

CHIPCARD_API int LC_Starcos_KeyDescr_GetStatus ( const LC_STARCOS_KEYDESCR el  ) 

Returns the property LC_STARCOS_KEYDESCR_Status

CHIPCARD_API void LC_Starcos_KeyDescr_SetStatus ( LC_STARCOS_KEYDESCR el,
int  d 
)

Set the property LC_STARCOS_KEYDESCR_Status

CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyType ( const LC_STARCOS_KEYDESCR el  ) 

Returns the property LC_STARCOS_KEYDESCR_KeyType

CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyType ( LC_STARCOS_KEYDESCR el,
int  d 
)

Set the property LC_STARCOS_KEYDESCR_KeyType

CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyNum ( const LC_STARCOS_KEYDESCR el  ) 

Returns the property LC_STARCOS_KEYDESCR_KeyNum

CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyNum ( LC_STARCOS_KEYDESCR el,
int  d 
)

Set the property LC_STARCOS_KEYDESCR_KeyNum

CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyVer ( const LC_STARCOS_KEYDESCR el  ) 

Returns the property LC_STARCOS_KEYDESCR_KeyVer

CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyVer ( LC_STARCOS_KEYDESCR el,
int  d 
)

Set the property LC_STARCOS_KEYDESCR_KeyVer

Generated on Mon Jul 5 23:12:02 2010 for libchipcard by  doxygen 1.6.3