initial commit, eq circuit emulator
[eqemu] / src / dev.h
1 /*
2 eqemu - electronic queue system emulator
3 Copyright (C) 2014  John Tsiombikas <nuclear@member.fsf.org>,
4                     Eleni-Maria Stea <eleni@mutantstargoat.com>
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef DEV_H_
20 #define DEV_H_
21
22 extern int customer, ticket;
23
24 int start_dev(const char *devpath);
25 void stop_dev();
26 void proc_dev_input();
27
28 void next_customer();
29 void issue_ticket();
30
31 int get_display_number();
32 int get_led_state(int led);
33
34 #endif  /* DEV_H_ */