/usr/include/libchipcard5/chipcard/sharedstuff/pininfo.h is in libchipcard-dev 5.0.2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | /* This file is auto-generated from "pininfo.xml" by the typemaker
tool of Gwenhywfar.
Do not edit this file -- all changes will be lost! */
#ifndef PININFO_H
#define PININFO_H
/** @page P_LC_PININFO_PUBLIC LC_PinInfo (public)
This page describes the properties of LC_PININFO
@anchor LC_PININFO_Name
<h3>Name</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetName,
get it with @ref LC_PinInfo_GetName
</p>
@anchor LC_PININFO_Id
<h3>Id</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetId,
get it with @ref LC_PinInfo_GetId
</p>
@anchor LC_PININFO_Encoding
<h3>Encoding</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetEncoding,
get it with @ref LC_PinInfo_GetEncoding
</p>
@anchor LC_PININFO_MinLength
<h3>MinLength</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetMinLength,
get it with @ref LC_PinInfo_GetMinLength
</p>
@anchor LC_PININFO_MaxLength
<h3>MaxLength</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetMaxLength,
get it with @ref LC_PinInfo_GetMaxLength
</p>
@anchor LC_PININFO_AllowChange
<h3>AllowChange</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetAllowChange,
get it with @ref LC_PinInfo_GetAllowChange
</p>
@anchor LC_PININFO_Filler
<h3>Filler</h3>
<p>
</p>
<p>
Set this property with @ref LC_PinInfo_SetFiller,
get it with @ref LC_PinInfo_GetFiller
</p>
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct LC_PININFO LC_PININFO;
#ifdef __cplusplus
} /* __cplusplus */
#endif
#include <gwenhywfar/db.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/list2.h>
/* headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/cryptdefs.h>
#include <chipcard/chipcard.h>
#ifdef __cplusplus
extern "C" {
#endif
GWEN_INHERIT_FUNCTION_LIB_DEFS(LC_PININFO, CHIPCARD_API)
GWEN_LIST2_FUNCTION_LIB_DEFS(LC_PININFO, LC_PinInfo, CHIPCARD_API)
/** Destroys all objects stored in the given LIST2 and the list itself
*/
CHIPCARD_API void LC_PinInfo_List2_freeAll(LC_PININFO_LIST2 *stl);
/** Creates a new object.
*/
CHIPCARD_API LC_PININFO *LC_PinInfo_new();
/** Creates an object from the data in the given GWEN_DB_NODE
*/
CHIPCARD_API LC_PININFO *LC_PinInfo_fromDb(GWEN_DB_NODE *db);
/** Creates and returns a deep copy of thegiven object.
*/
CHIPCARD_API LC_PININFO *LC_PinInfo_dup(const LC_PININFO*st);
/** Destroys the given object.
*/
CHIPCARD_API void LC_PinInfo_free(LC_PININFO *st);
/** Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
*/
CHIPCARD_API void LC_PinInfo_Attach(LC_PININFO *st);
/** Reads data from a GWEN_DB.
*/
CHIPCARD_API int LC_PinInfo_ReadDb(LC_PININFO *st, GWEN_DB_NODE *db);
/** Stores an object in the given GWEN_DB_NODE
*/
CHIPCARD_API int LC_PinInfo_toDb(const LC_PININFO*st, GWEN_DB_NODE *db);
/** Returns 0 if this object has not been modified, !=0 otherwise
*/
CHIPCARD_API int LC_PinInfo_IsModified(const LC_PININFO *st);
/** Sets the modified state of the given object
*/
CHIPCARD_API void LC_PinInfo_SetModified(LC_PININFO *st, int i);
/**
* Returns the property @ref LC_PININFO_Name
*/
CHIPCARD_API const char *LC_PinInfo_GetName(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_Name
*/
CHIPCARD_API void LC_PinInfo_SetName(LC_PININFO *el, const char *d);
/**
* Returns the property @ref LC_PININFO_Id
*/
CHIPCARD_API uint32_t LC_PinInfo_GetId(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_Id
*/
CHIPCARD_API void LC_PinInfo_SetId(LC_PININFO *el, uint32_t d);
/**
* Returns the property @ref LC_PININFO_Encoding
*/
CHIPCARD_API int LC_PinInfo_GetEncoding(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_Encoding
*/
CHIPCARD_API void LC_PinInfo_SetEncoding(LC_PININFO *el, int d);
/**
* Returns the property @ref LC_PININFO_MinLength
*/
CHIPCARD_API int LC_PinInfo_GetMinLength(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_MinLength
*/
CHIPCARD_API void LC_PinInfo_SetMinLength(LC_PININFO *el, int d);
/**
* Returns the property @ref LC_PININFO_MaxLength
*/
CHIPCARD_API int LC_PinInfo_GetMaxLength(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_MaxLength
*/
CHIPCARD_API void LC_PinInfo_SetMaxLength(LC_PININFO *el, int d);
/**
* Returns the property @ref LC_PININFO_AllowChange
*/
CHIPCARD_API int LC_PinInfo_GetAllowChange(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_AllowChange
*/
CHIPCARD_API void LC_PinInfo_SetAllowChange(LC_PININFO *el, int d);
/**
* Returns the property @ref LC_PININFO_Filler
*/
CHIPCARD_API int LC_PinInfo_GetFiller(const LC_PININFO *el);
/**
* Set the property @ref LC_PININFO_Filler
*/
CHIPCARD_API void LC_PinInfo_SetFiller(LC_PININFO *el, int d);
#ifdef __cplusplus
} /* __cplusplus */
#endif
#endif /* PININFO_H */
|