eqemu

diff src/dev.h @ 2:48dce4ee4850

the fake device is working
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 15 Jul 2014 14:37:51 +0300
parents
children 2656099aff12
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/dev.h	Tue Jul 15 14:37:51 2014 +0300
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef DEV_H_
     1.5 +#define DEV_H_
     1.6 +
     1.7 +extern int customer, ticket;
     1.8 +
     1.9 +int start_dev(const char *devpath);
    1.10 +void stop_dev();
    1.11 +void proc_dev_input();
    1.12 +
    1.13 +void next_customer();
    1.14 +void issue_ticket();
    1.15 +
    1.16 +int get_display_number();
    1.17 +int get_led_state(int led);
    1.18 +
    1.19 +#endif	/* DEV_H_ */