New API call Xorriso_start_msg_watcher()
This commit is contained in:
@ -575,6 +575,17 @@ struct XorrisO { /* the global context of xorriso */
|
||||
int write_to_channel_lock_ini;
|
||||
pthread_mutex_t write_to_channel_lock;
|
||||
|
||||
int msg_watcher_lock_ini;
|
||||
pthread_mutex_t msg_watcher_lock;
|
||||
int msg_watcher_state; /* 0= inactive
|
||||
1= registered
|
||||
2= started
|
||||
3= request to end
|
||||
*/
|
||||
int (*msgw_result_handler)(struct XorrisO *xorriso, char *text);
|
||||
int (*msgw_info_handler)(struct XorrisO *xorriso, char *text);
|
||||
int msgw_stack_handle;
|
||||
|
||||
int status_history_max; /* for -status long_history */
|
||||
|
||||
/* 0= no logging of SCSI commands, 1= to stderr */
|
||||
|
Reference in New Issue
Block a user