eqemu

annotate src/dev.h @ 12:2656099aff12

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