/[projects]/smsdaemon/kbhit.h
ViewVC logotype

Contents of /smsdaemon/kbhit.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations) (download)
Mon Jun 9 18:15:53 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 1154 byte(s)
Added first basic edition of smsdaemon.

So far sending & receiving sms works and a basic sample plugin is implemented.

1 /*****************************************************************************
2 kbhit() and getch() for Linux/UNIX
3 Chris Giese <geezer@execpc.com> http://my.execpc.com/~geezer
4 Release date: ?
5 This code is public domain (no copyright).
6 You can do whatever you want with it.
7 *****************************************************************************/
8 #if !defined(linux)
9 #include <conio.h> /* kbhit(), getch() */
10
11 #else
12
13 /*****************************************************************************
14 *****************************************************************************/
15 void cooked(void);
16 /*****************************************************************************
17 *****************************************************************************/
18 void raw(void);
19 /*****************************************************************************
20 *****************************************************************************/
21 int kbhit(void);
22 /*****************************************************************************
23 *****************************************************************************/
24 int getch(void);
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.20