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. More... | |
DllExport int | eid_vwr_challenge (const unsigned char *challenge, int challengelen) |
Perform an internal authenticate operation on the card. 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 (void) |
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 void | eid_vwr_release_preview (struct eid_vwr_preview *prv) |
Release the data returned by eid_vwr_get_preview() More... | |
DllExport int | eid_vwr_poll (void) |
Check if there is an event to be handled. More... | |
void * | eid_vwr_be_mainloop (void *val) NORETURN |
Loops over waiting function for pkcs11 card and reader insertion/removal event. 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 (void) |
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 (void) |
Mark the current data as invalid. More... | |
DllExport void | eid_vwr_close_file (void) |
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 (void) |
Return the backend language. More... | |
contains the functions, enums and structures that need to be known by the ui