14 DllExport int eid_vwr_set_cbfuncs(void (*newsrc) (enumeid_vwr_source source), // data source has changed.
15void (*newstringdata) (const EID_CHAR * label, const EID_CHAR * data), // new string data to be displayed in UI.
16void (*newbindata) (const EID_CHAR * label, constunsignedchar *data, int datalen), // new binary data to be displayed in UI.
17void (*log) (enumeid_vwr_loglevel loglevel, const EID_CHAR * line), // log a string at the given level.
18//void(*logv)(enum eid_vwr_loglevel loglevel, const char* line, va_list ap), // log a string using varargs. Note: a UI needs to implement only one of log() or logv(); the backend will use whichever is implemented.
19void (*newstate) (enumeid_vwr_states states), // issued at state machine transition
20void (*pinop_result) (enumeid_vwr_pinops pinops, enumeid_vwr_result result), // issued when a PIN operation finished.