ekg2
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
ioctld
ioctld.h
Idź do dokumentacji tego pliku.
1
/* $Id$ */
2
3
/*
4
* (C) Copyright 2002 Pawel Maziarz <drg@go2.pl>
5
* Wojtek Kaniewski <wojtekka@irc.pl>
6
* Robert J. Wozny <speedy@ziew.org>
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License Version 2 as
10
* published by the Free Software Foundation.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
*/
21
22
#ifndef __EKG_IOCTLD_IOCTLD_H
23
#define __EKG_IOCTLD_IOCTLD_H
24
25
#define IOCTLD_MAX_ITEMS 50
26
#define IOCTLD_MAX_DELAY 2000000
27
#define IOCTLD_DEFAULT_DELAY 100000
28
29
struct
action_data
{
30
int
act
;
31
int
value
[
IOCTLD_MAX_ITEMS
];
32
int
delay
[
IOCTLD_MAX_ITEMS
];
33
};
34
35
enum
action_type
{
36
ACT_BLINK_LEDS
= 1,
37
ACT_BEEPS_SPK
= 2
38
};
39
40
int
blink_leds
(
int
*flag,
int
*delay);
41
int
beeps_spk
(
int
*tone,
int
*delay);
42
43
#endif
/* __EKG_IOCTLD_IOCTLD_H */
44
45
/*
46
* Local Variables:
47
* mode: c
48
* c-file-style: "k&r"
49
* c-basic-offset: 8
50
* indent-tabs-mode: t
51
* End:
52
*/
Wygenerowano N, 7 lip 2013 09:24:28 dla ekg2 programem
1.8.4