7 A Linux/Unix toolset and driver for Nokia mobile phones.
9 Copyright (C) 1999, 2000 Hugh Blemings & Pavel JanÃk ml.
11 Released under the terms of the GNU GPL, see file COPYING for more details.
13 Header file device access code.
16 Revision 1.1.1.1 2001/11/25 21:59:19 short
17 :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
19 Revision 1.10 2001/08/20 23:27:37 pkot
20 Add hardware shakehand to the link layer (Manfred Jonsson)
22 Revision 1.9 2001/06/28 00:28:45 pkot
23 Small docs updates (Pawel Kot)
33 #include "gsm-common.h"
35 int device_getfd(void);
37 int device_open(__const char *__file, int __with_odd_parity, int __with_async, int __with_hw_handshake, GSM_ConnectionType device_type);
38 void device_close(void);
39 void device_reset(void);
41 void device_setdtrrts(int __dtr, int __rts);
42 void device_changespeed(int __speed);
44 size_t device_read(__ptr_t __buf, size_t __nbytes);
45 size_t device_write(__const __ptr_t __buf, size_t __n);
47 int device_select(struct timeval *timeout);
49 #endif /* __device_h */