File: sdeclcd.h

package info (click to toggle)
lcdproc 0.5.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,064 kB
  • sloc: ansic: 59,645; sh: 1,740; perl: 681; makefile: 417
file content (51 lines) | stat: -rw-r--r-- 2,128 bytes parent folder | download | duplicates (3)
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
42
43
44
45
46
47
48
49
50
51
/** \file server/drivers/sdeclcd.h
 * This is the LCDproc driver for SDEC LCD Devices.
 * They are found in the Watchguard FireBox firewall appliances.
 * They are interfaced through the parallel port.
 *
 * The code is based on the spec file LMC-S2D20-01.pdf,
 * a technical hardware and programming guide for this LCD.
 */

/*-
 *  Copyright(C) 2011, Francois Mertz <fireboxled AT gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 */

#ifndef SDECLCD_H
#define SDECLCD_H

MODULE_EXPORT int sdeclcd_init(Driver *);
MODULE_EXPORT void sdeclcd_close(Driver *);
MODULE_EXPORT int sdeclcd_width(Driver *);
MODULE_EXPORT int sdeclcd_height(Driver *);
MODULE_EXPORT void sdeclcd_flush(Driver *);
MODULE_EXPORT void sdeclcd_string(Driver *, int, int, char *);
MODULE_EXPORT void sdeclcd_chr(Driver *, int, int, char);
MODULE_EXPORT void sdeclcd_clear(Driver *);
MODULE_EXPORT int sdeclcd_cellwidth(Driver *);
MODULE_EXPORT int sdeclcd_cellheight(Driver *);
MODULE_EXPORT int sdeclcd_get_free_char(Driver *);
MODULE_EXPORT int sdeclcd_icon(Driver *, int, int, int);
MODULE_EXPORT void sdeclcd_heartbeat(Driver *, int);
MODULE_EXPORT void sdeclcd_vbar(Driver *, int, int, int, int, int);
MODULE_EXPORT void sdeclcd_hbar(Driver *, int, int, int, int, int);
MODULE_EXPORT void sdeclcd_num(Driver *, int, int);
MODULE_EXPORT const char *sdeclcd_get_key(Driver *);
MODULE_EXPORT void sdeclcd_backlight(Driver *, int);
MODULE_EXPORT const char *sdeclcd_get_info(Driver *);

#endif