aboutsummaryrefslogtreecommitdiffstats
path: root/drv.h
blob: d8a65949bceeffa02221f3db18d72bbdbe2137a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cgit v1.2.3 (git 2.25.1) at 2024-06-26 19:09:34 +0000
 


d transfer to new driver architecture
 * new file 'drv.c' will someday replace 'display.c'
 * new file 'drv_MatrixOrbital.c' will replace 'MatrixOrbital.c'
 * due to this 'soft' transfer lcd4linux should stay usable during the switch
 * (at least I hope so)
 *
 */

#ifndef _DRV_H_
#define _DRV_H_

typedef struct DRIVER {
  char *name;
  int (*list)  (void);
  int (*init)  (const char *section, const int quiet);
  int (*quit)  (const int quiet);
} DRIVER;


/* output file for Raster driver
 * has to be defined here because it's referenced
 * even if the raster driver is not included! 
 */
extern char *output;

int drv_list (void);
int drv_init (const char *section, const char *driver, const int quiet);
int drv_quit (const int quiet);

#endif