WARNING! dependency on: lace_cfgreader (branchpoint), lace_utils
[gnokii.git] / include / devices / unixserial.h
index 15253ef..58ff7e1 100644 (file)
   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);