libchipcard 5.0.0

pininfo.h

Go to the documentation of this file.
00001 /* This file is auto-generated from "pininfo.xml" by the typemaker
00002    tool of Gwenhywfar. 
00003    Do not edit this file -- all changes will be lost! */
00004 #ifndef PININFO_H
00005 #define PININFO_H
00006 
00073 #ifdef __cplusplus
00074 extern "C" {
00075 #endif
00076 
00077 typedef struct LC_PININFO LC_PININFO;
00078 
00079 #ifdef __cplusplus
00080 } /* __cplusplus */
00081 #endif
00082 
00083 #include <gwenhywfar/db.h>
00084 #include <gwenhywfar/inherit.h>
00085 #include <gwenhywfar/list2.h>
00086 /* headers */
00087 #include <gwenhywfar/types.h>
00088 #include <gwenhywfar/cryptdefs.h>
00089 #include <chipcard/chipcard.h>
00090 
00091 #ifdef __cplusplus
00092 extern "C" {
00093 #endif
00094 
00095 
00096 GWEN_INHERIT_FUNCTION_LIB_DEFS(LC_PININFO, CHIPCARD_API)
00097 GWEN_LIST2_FUNCTION_LIB_DEFS(LC_PININFO, LC_PinInfo, CHIPCARD_API)
00098 
00101 CHIPCARD_API void LC_PinInfo_List2_freeAll(LC_PININFO_LIST2 *stl);
00102 
00105 CHIPCARD_API LC_PININFO *LC_PinInfo_new();
00108 CHIPCARD_API LC_PININFO *LC_PinInfo_fromDb(GWEN_DB_NODE *db);
00111 CHIPCARD_API LC_PININFO *LC_PinInfo_dup(const LC_PININFO*st);
00114 CHIPCARD_API void LC_PinInfo_free(LC_PININFO *st);
00117 CHIPCARD_API void LC_PinInfo_Attach(LC_PININFO *st);
00120 CHIPCARD_API int LC_PinInfo_ReadDb(LC_PININFO *st, GWEN_DB_NODE *db);
00123 CHIPCARD_API int LC_PinInfo_toDb(const LC_PININFO*st, GWEN_DB_NODE *db);
00126 CHIPCARD_API int LC_PinInfo_IsModified(const LC_PININFO *st);
00129 CHIPCARD_API void LC_PinInfo_SetModified(LC_PININFO *st, int i);
00130 
00134 CHIPCARD_API const char *LC_PinInfo_GetName(const LC_PININFO *el);
00138 CHIPCARD_API void LC_PinInfo_SetName(LC_PININFO *el, const char *d);
00139 
00143 CHIPCARD_API uint32_t LC_PinInfo_GetId(const LC_PININFO *el);
00147 CHIPCARD_API void LC_PinInfo_SetId(LC_PININFO *el, uint32_t d);
00148 
00152 CHIPCARD_API int LC_PinInfo_GetEncoding(const LC_PININFO *el);
00156 CHIPCARD_API void LC_PinInfo_SetEncoding(LC_PININFO *el, int d);
00157 
00161 CHIPCARD_API int LC_PinInfo_GetMinLength(const LC_PININFO *el);
00165 CHIPCARD_API void LC_PinInfo_SetMinLength(LC_PININFO *el, int d);
00166 
00170 CHIPCARD_API int LC_PinInfo_GetMaxLength(const LC_PININFO *el);
00174 CHIPCARD_API void LC_PinInfo_SetMaxLength(LC_PININFO *el, int d);
00175 
00179 CHIPCARD_API int LC_PinInfo_GetAllowChange(const LC_PININFO *el);
00183 CHIPCARD_API void LC_PinInfo_SetAllowChange(LC_PININFO *el, int d);
00184 
00188 CHIPCARD_API int LC_PinInfo_GetFiller(const LC_PININFO *el);
00192 CHIPCARD_API void LC_PinInfo_SetFiller(LC_PININFO *el, int d);
00193 
00194 
00195 #ifdef __cplusplus
00196 } /* __cplusplus */
00197 #endif
00198 
00199 
00200 #endif /* PININFO_H */