libchipcard 5.0.0
|
00001 /* This file is auto-generated from "starcos_keydescr.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef STARCOS_KEYDESCR_H 00005 #define STARCOS_KEYDESCR_H 00006 00055 #ifdef __cplusplus 00056 extern "C" { 00057 #endif 00058 00059 typedef struct LC_STARCOS_KEYDESCR LC_STARCOS_KEYDESCR; 00060 00061 #ifdef __cplusplus 00062 } /* __cplusplus */ 00063 #endif 00064 00065 #include <gwenhywfar/db.h> 00066 /* headers */ 00067 #include <chipcard/cards/starcos.h> 00068 #include <chipcard/chipcard.h> 00069 00070 #ifdef __cplusplus 00071 extern "C" { 00072 #endif 00073 00074 00077 CHIPCARD_API LC_STARCOS_KEYDESCR *LC_Starcos_KeyDescr_new(); 00080 CHIPCARD_API LC_STARCOS_KEYDESCR *LC_Starcos_KeyDescr_fromDb(GWEN_DB_NODE *db); 00083 CHIPCARD_API LC_STARCOS_KEYDESCR *LC_Starcos_KeyDescr_dup(const LC_STARCOS_KEYDESCR*st); 00086 CHIPCARD_API void LC_Starcos_KeyDescr_free(LC_STARCOS_KEYDESCR *st); 00089 CHIPCARD_API void LC_Starcos_KeyDescr_Attach(LC_STARCOS_KEYDESCR *st); 00092 CHIPCARD_API int LC_Starcos_KeyDescr_ReadDb(LC_STARCOS_KEYDESCR *st, GWEN_DB_NODE *db); 00095 CHIPCARD_API int LC_Starcos_KeyDescr_toDb(const LC_STARCOS_KEYDESCR*st, GWEN_DB_NODE *db); 00098 CHIPCARD_API int LC_Starcos_KeyDescr_IsModified(const LC_STARCOS_KEYDESCR *st); 00101 CHIPCARD_API void LC_Starcos_KeyDescr_SetModified(LC_STARCOS_KEYDESCR *st, int i); 00102 00106 CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyId(const LC_STARCOS_KEYDESCR *el); 00110 CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyId(LC_STARCOS_KEYDESCR *el, int d); 00111 00115 CHIPCARD_API int LC_Starcos_KeyDescr_GetStatus(const LC_STARCOS_KEYDESCR *el); 00119 CHIPCARD_API void LC_Starcos_KeyDescr_SetStatus(LC_STARCOS_KEYDESCR *el, int d); 00120 00124 CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyType(const LC_STARCOS_KEYDESCR *el); 00128 CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyType(LC_STARCOS_KEYDESCR *el, int d); 00129 00133 CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyNum(const LC_STARCOS_KEYDESCR *el); 00137 CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyNum(LC_STARCOS_KEYDESCR *el, int d); 00138 00142 CHIPCARD_API int LC_Starcos_KeyDescr_GetKeyVer(const LC_STARCOS_KEYDESCR *el); 00146 CHIPCARD_API void LC_Starcos_KeyDescr_SetKeyVer(LC_STARCOS_KEYDESCR *el, int d); 00147 00148 00149 #ifdef __cplusplus 00150 } /* __cplusplus */ 00151 #endif 00152 00153 00154 #endif /* STARCOS_KEYDESCR_H */