13 DllExport int eid_vwr_set_cbfuncs(void(*newsrc)(enumeid_vwr_source source), // data source has changed.
14void(*newstringdata)(const EID_CHAR* label, const EID_CHAR* data), // new string data to be displayed in UI.
15void(*newbindata)(const EID_CHAR* label, constunsignedchar* data, int datalen), // new binary data to be displayed in UI.
16void(*log)(enumeid_vwr_loglevel loglevel, const EID_CHAR* line), // log a string at the given level.
17//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.
18void(*newstate)(enumeid_vwr_states states), // issued at state machine transition
19void(*pinop_result)(enumeid_vwr_pinops pinops, enumeid_vwr_result result), // issued when a PIN operation finished.