|
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 |
| struct | eid_vwr_challenge_responsedata |
Functions | |
| DllExport void | eid_vwr_pinop (enum eid_vwr_pinops op) |
| Perform a PIN operation. | |
| DllExport int | eid_vwr_challenge (const unsigned char *challenge, int challengelen) |
| Perform an internal authenticate operation on the card. | |
| DllExport int | eid_vwr_createcallbacks (struct eid_vwr_ui_callbacks *cb) |
| Initialize the callbacks. | |
| DllExport struct eid_vwr_ui_callbacks * | eid_vwr_cbstruct (void) |
| Create the eid_vwr_ui_callbacks struct. | |
| DllExport struct eid_vwr_preview * | eid_vwr_get_preview (const EID_CHAR *filename) |
| Create a preview for the given file. | |
| DllExport void | eid_vwr_release_preview (struct eid_vwr_preview *prv) |
| Release the data returned by eid_vwr_get_preview() | |
| DllExport int | eid_vwr_poll (void) |
| Check if there is an event to be handled. | |
| void * | eid_vwr_be_mainloop (void *val) NORETURN |
| Loops over waiting function for pkcs11 card and reader insertion/removal event. | |
| DllExport void | eid_vwr_be_serialize (const EID_CHAR *target_file) |
| Save the currently-open data. | |
| DllExport void | eid_vwr_be_deserialize (const EID_CHAR *source_file) |
| Open a file. | |
| DllExport const char * | eid_vwr_be_get_xmlform (void) |
| Get the currently-open data in XML form. | |
| DllExport void | eid_vwr_be_select_slot (int automatic, unsigned long manualslot) |
| Select the current reader. | |
| DllExport void | eid_vwr_be_set_invalid (void) |
| Mark the current data as invalid. | |
| DllExport void | eid_vwr_close_file (void) |
| Close the current file. | |
| DllExport void | eid_vwr_convert_set_lang (enum eid_vwr_langs which) |
| Set the backend language. | |
| DllExport enum eid_vwr_langs | eid_vwr_convert_get_lang (void) |
| Return the backend language. | |
contains the functions, enums and structures that need to be known by the ui