void logevent(void *frontend, char *string)
void logevent(void *frontend, const char *string)
void logevent(void *frontend, char *string){    struct gui_data *inst = (struct gui_data *)frontend;    log_eventlog(inst->logctx, string);    logevent_dlg(inst->eventlogstuff, string);}