Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 #include "vbi-data.h"
  2 
  3 #define TT 0
  4 #if TT
  5 #define VTX_COUNT 256
  6 #define VTX_LEN   64
  7 
  8 struct TEXTELEM {
  9     char  str[VTX_LEN];
 10     char  *fg;
 11     char  *bg;
 12     int   len;
 13     int   line;
 14     int   x,y;
 15 };
 16 #endif
 17 
 18 /*------------------------------------------------------------------------*/
 19 
 20 /* feedback for the user */
 21 extern void (*update_title)(char *message);
 22 extern void (*display_message)(char *message);
 23 extern void (*rec_status)(char *message);
 24 #if TT
 25 extern void (*vtx_message)(struct TEXTELEM *tt);
 26 #endif
 27 #ifdef HAVE_ZVBI
 28 extern void (*vtx_subtitle)(struct vbi_page *pg, struct vbi_rect *rect);
 29 #endif
 30 
 31 /* for updating GUI elements / whatever */
 32 extern void (*attr_notify)(struct ng_attribute *attr, int val);
 33 extern void (*volume_notify)(void);
 34 extern void (*freqtab_notify)(void);
 35 extern void (*setfreqtab_notify)(void);
 36 extern void (*setstation_notify)(void);
 37 
 38 /* gets called _before_ channel switches */
 39 extern void (*channel_switch_hook)(void);
 40 
 41 /* capture overlay/grab/off */
 42 extern void (*set_capture_hook)(int old, int new, int tmp_switch);
 43 
 44 /* toggle fullscreen */
 45 extern void (*fullscreen_hook)(void);
 46 extern void (*exit_hook)(void);
 47 extern void (*capture_get_hook)(void);
 48 extern void (*capture_rel_hook)(void);
 49 extern void (*movie_hook)(int argc, char **argv);
 50 
 51 extern int debug;
 52 extern int do_overlay;
 53 extern char *snapbase;
 54 extern int have_shmem;
 55 extern unsigned int cur_tv_width,cur_tv_height;
 56 extern int cur_movie,cur_attrs[256];
 57 extern struct movie_parm m_parm;
 58 
 59 extern const struct ng_vid_driver *drv;
 60 extern void                       *h_drv;
 61 extern int                         f_drv;
 62 
 63 extern struct ng_attribute        *attrs;
 64 
 65 /*------------------------------------------------------------------------*/
 66 
 67 void attr_init(void);
 68 void audio_init(void);
 69 void audio_on(void);
 70 void audio_off(void);
 71 void set_defaults(void);
 72 
 73 void add_attrs(struct ng_attribute *new);
 74 void init_overlay(void);
 75 
 76 int do_va_cmd(int argc, ...);
 77 int do_command(int argc, char **argv);
 78 char** split_cmdline(char *line, int *count);
 79 void keypad_timeout(void);
 80 
  This page was automatically generated by the LXR engine.