X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Ftekram.h;h=06e97d91b444065b4e104ceebf8690fbd0135431;hp=f4cf4412827955953434414f8b0194426a291564;hb=HEAD;hpb=3ffd063073b4fe33d61c74b767c93833dc5bd8e5 diff --git a/include/devices/tekram.h b/include/devices/tekram.h index f4cf441..06e97d9 100644 --- a/include/devices/tekram.h +++ b/include/devices/tekram.h @@ -24,11 +24,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * $Log$ - * Revision 1.1.1.2 2001/11/27 22:01:28 short - * :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 - * - * Revision 1.2 2001/11/27 12:19:01 pkot - * Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) + * Revision 1.1.1.4 2002/04/03 00:08:20 short + * Found in "gnokii-working" directory, some November-patches version * * Revision 1.1 2001/02/21 19:57:11 chris * More fiddling with the directory layout @@ -42,16 +39,17 @@ #define __devices_tekram_h #ifdef WIN32 -# include + #include /* FIXME: this should be solved in config.h in 0.4.0 */ -# define __const const - typedef void * __ptr_t; + #define __const const + typedef void * __ptr_t; #else -# include + #include #endif /* WIN32 */ #include "misc.h" + #define TEKRAM_B115200 0x00 #define TEKRAM_B57600 0x01 #define TEKRAM_B38400 0x02 @@ -60,6 +58,7 @@ #define TEKRAM_PW 0x10 /* Pulse select bit */ + int tekram_open(__const char *__file); void tekram_close(int __fd); @@ -72,3 +71,7 @@ size_t tekram_write(int __fd, __const __ptr_t __buf, size_t __n); int tekram_select(int fd, struct timeval *timeout); #endif /* __devices_tekram_h */ + + + +