eid-viewer
eid-viewer library
|
contains the functions, enums and structures that need to be known by the ui More...
#include <stdlib.h>
#include <stdarg.h>
#include <eid-util/utftranslate.h>
#include <eid-viewer/macros.h>
Go to the source code of this file.
Data Structures | |
struct | _slotdesc |
struct | eid_vwr_ui_callbacks |
Callbacks which the backend can perform towards the UI. More... | |
struct | eid_vwr_preview |
Enumerations | |
enum | eid_vwr_source { EID_VWR_SRC_NONE, EID_VWR_SRC_FILE, EID_VWR_SRC_CARD, EID_VWR_SRC_UNKNOWN } |
enum | eid_vwr_loglevel { EID_VWR_LOG_DETAIL = 0, EID_VWR_LOG_NORMAL = 1, EID_VWR_LOG_COARSE = 2, EID_VWR_LOG_ERROR = 3 } |
Log levels. More... | |
enum | eid_vwr_pinops { EID_VWR_PINOP_TEST, EID_VWR_PINOP_CHG } |
enum | eid_vwr_result { EID_VWR_RES_FAILED, EID_VWR_RES_SUCCESS, EID_VWR_RES_UNKNOWN } |
enum | eid_vwr_states { STATE_LIBOPEN, STATE_CALLBACKS, STATE_READY, STATE_TOKEN, STATE_TOKEN_WAIT, STATE_TOKEN_ID, STATE_TOKEN_CERTS, STATE_TOKEN_PINOP, STATE_TOKEN_SERIALIZE, STATE_TOKEN_ERROR, STATE_FILE, STATE_FILE_READING, STATE_FILE_WAIT, STATE_CARD_INVALID, STATE_NO_TOKEN, STATE_NO_READER } |
Possible states. More... | |
enum | eid_vwr_langs { EID_VWR_LANG_NONE, EID_VWR_LANG_DE, EID_VWR_LANG_EN, EID_VWR_LANG_FR, EID_VWR_LANG_NL } |
Functions | |
DllExport void | eid_vwr_pinop (enum eid_vwr_pinops op) |
Perform a PIN operation. More... | |
DllExport int | eid_vwr_createcallbacks (struct eid_vwr_ui_callbacks *cb) |
Initialize the callbacks. More... | |
DllExport struct eid_vwr_ui_callbacks * | eid_vwr_cbstruct () |
Create the eid_vwr_ui_callbacks struct. More... | |
DllExport struct eid_vwr_preview * | eid_vwr_get_preview (const EID_CHAR *filename) |
Create a preview for the given file. More... | |
DllExport int | eid_vwr_poll () |
Check if there is an event to be handled. More... | |
void * | eid_vwr_be_mainloop (void *val) |
Loop over eid_vwr_poll(). More... | |
DllExport void | eid_vwr_be_serialize (const EID_CHAR *target_file) |
Save the currently-open data. More... | |
DllExport void | eid_vwr_be_deserialize (const EID_CHAR *source_file) |
Open a file. More... | |
DllExport const char * | eid_vwr_be_get_xmlform () |
Get the currently-open data in XML form. More... | |
DllExport void | eid_vwr_be_select_slot (int automatic, unsigned long manualslot) |
Select the current reader. More... | |
DllExport void | eid_vwr_be_set_invalid () |
Mark the current data as invalid. More... | |
DllExport void | eid_vwr_close_file () |
Close the current file. More... | |
DllExport void | eid_vwr_convert_set_lang (enum eid_vwr_langs which) |
Set the backend language. More... | |
DllExport enum eid_vwr_langs | eid_vwr_convert_get_lang () |
Return the backend language. More... | |
contains the functions, enums and structures that need to be known by the ui