X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=include%2Fdevices%2Funixserial.h;fp=include%2Fdevices%2Funixserial.h;h=58ff7e1d188ad2f051b9335190323fab27ba18ce;hb=8c6c926a3e04b31a81234e2ae8dae89d94551350;hp=15253ef32015d5bcbc01771cf480e2b2cdca0de2;hpb=ecb68c68aeb44fa1ec930d124868e63a64f8cb6d;p=gnokii.git diff --git a/include/devices/unixserial.h b/include/devices/unixserial.h index 15253ef..58ff7e1 100644 --- a/include/devices/unixserial.h +++ b/include/devices/unixserial.h @@ -11,6 +11,21 @@ Released under the terms of the GNU GPL, see file COPYING for more details. $Log$ + Revision 1.1.1.1.12.1 2001/11/25 23:31:57 short + WARNING! dependency on: lace_cfgreader (branchpoint), lace_utils + + * new gnokiirc/global settings: + * connect_script/disconnect_script - needed for BIP but can be general + * entries in such sections passed as %ENV - ... + * provided chat script ("connect-et" now) w/o bugs of "ppp-6210-modem" + * serial_baudrate - used when not overriden by phone + * handshake = software/hardware - used when not overriden by phone + * require_dcd - kills Gnokii when modem drops connection - needed for BIP + * serial_write_usleep - waits between each character sent - for Siemens M20 + * All open device fds are now closed and DTR/RTS-cleared on exit + * SIGINT abort not properly handled - clashing with pthreads + * Fixed hang-ons by fcntl(FASYNC) forgotting to specify also FNONBLOCK + 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 @@ -36,6 +51,7 @@ #endif /* WIN32 */ #include "misc.h" +#include "gsm-error.h" int serial_open(__const char *__file, int __oflag); int serial_close(int __fd); @@ -43,7 +59,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); +GSM_Error 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);