X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Funixserial.h;fp=include%2Fdevices%2Funixserial.h;h=9dca33b204d6e4be09eeed77c76d8eed04cc66d3;hp=b044d439fdcaa81534209fef54893d4ff221a819;hb=49dd905279a8e62936e3713510ab0fd738e20ecb;hpb=2f2703c9133032c12671ca5c77ae626b8fb178d4 diff --git a/include/devices/unixserial.h b/include/devices/unixserial.h index b044d43..9dca33b 100644 --- a/include/devices/unixserial.h +++ b/include/devices/unixserial.h @@ -6,8 +6,21 @@ A Linux/Unix toolset and driver for Nokia mobile phones. + Copyright (C) 1999, 2000 Hugh Blemings & Pavel Janík ml. + Released under the terms of the GNU GPL, see file COPYING for more details. + $Log$ + 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) + + Revision 1.1 2001/02/21 19:57:12 chris + More fiddling with the directory layout + + */ #ifndef __devices_unixserial_h @@ -30,7 +43,7 @@ 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);