1 /******************************************************************************
2 * interface.h: interface access for other threads
4 ******************************************************************************
5 * This library provides basic functions for threads to interact with user
6 * interface, such as message output.
7 ******************************************************************************
11 * <X11/extensions/XShm.h>
21 ******************************************************************************/
23 /******************************************************************************
24 * intf_thread_t: describe an interface thread
25 ******************************************************************************
26 * This structe describes all interface-specific data of the main (interface)
28 ******************************************************************************/
31 boolean_t b_die; /* `die' flag */
34 input_thread_t * pp_input[INPUT_MAX_THREADS]; /* input threads */
35 vout_thread_t * pp_vout[VOUT_MAX_THREADS]; /* vout threads */
36 aout_thread_t * p_aout; /* aout thread */
38 int i_input; /* default input thread */
39 int i_vout; /* default output thread */
41 /* Specific interfaces */
42 xconsole_t xconsole; /* X11 console */
45 /******************************************************************************
47 ******************************************************************************/
48 int intf_Run( intf_thread_t * p_intf );