X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Funixserial.h;h=0f9591490c59f310b9e17e69834b367cdeeababc;hp=15253ef32015d5bcbc01771cf480e2b2cdca0de2;hb=HEAD;hpb=4ee1266711b695852ec88f06784fd84400cd70bb diff --git a/include/devices/unixserial.h b/include/devices/unixserial.h index 15253ef..0f95914 100644 --- a/include/devices/unixserial.h +++ b/include/devices/unixserial.h @@ -11,8 +11,11 @@ Released under the terms of the GNU GPL, see file COPYING for more details. $Log$ - Revision 1.1.1.1 2001/11/25 21:59:21 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001 + Revision 1.1.1.5 2002/04/03 01:44:15 short + Implemented connection type "tcp" (GCT_TCP), use : as "port" + + Revision 1.1.1.4 2002/04/03 00:08:20 short + Found in "gnokii-working" directory, some November-patches version Revision 1.2 2001/08/20 23:27:37 pkot Add hardware shakehand to the link layer (Manfred Jonsson) @@ -43,13 +46,18 @@ int serial_close(int __fd); int serial_opendevice(__const char *__file, int __with_odd_parity, int __with_async, int __with_hw_handshake); void serial_setdtrrts(int __fd, int __dtr, int __rts); -void serial_changespeed(int __fd, int __speed); +bool serial_changespeed(int __fd, int __speed); size_t serial_read(int __fd, __ptr_t __buf, size_t __nbytes); size_t serial_write(int __fd, __const __ptr_t __buf, size_t __n); int serial_select(int fd, struct timeval *timeout); +extern int serial_close_all_openfds[0x10]; +extern void serial_close_all(void); +extern int device_script(int fd, const char *section); +extern void unixserial_interrupted(int signo); + #endif /* __devices_unixserial_h */