6 * A Linux/Unix toolset and driver for Nokia mobile phones.
8 * Copyright (C) 1999, 2000 Hugh Blemings & Pavel JanÃk ml.
9 * Copyright (C) 2000-2001 Marcel Holtmann <marcel@holtmann.org>
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
21 * You should have received a copy of the GNU Library General Public
22 * License along with this library; if not, write to the Free
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 * Revision 1.1.1.3 2002/04/03 00:08:20 short
27 * Found in "gnokii-working" directory, some November-patches version
29 * Revision 1.2 2001/11/08 16:49:20 pkot
32 * Revision 1.1 2001/02/21 19:57:11 chris
33 * More fiddling with the directory layout
35 * Revision 1.4 2001/02/20 21:55:12 pkot
36 * Small #include updates
38 * Revision 1.3 2001/02/06 21:15:37 chris
39 * Preliminary irda support for 7110 etc. Not well tested!
41 * Revision 1.2 2001/02/06 15:15:25 pkot
42 * FreeBSD unixirda.h fix (Panagiotis Astithas)
44 * Revision 1.1 2001/02/03 23:56:18 chris
45 * Start of work on irda support (now we just need fbus-irda.c!)
46 * Proper unicode support in 7110 code (from pkot)
50 #ifndef __unix_irda_h_
51 #define __unix_irda_h_
60 #include <sys/socket.h>
62 #include "linuxirda.h"
66 int irda_close(int fd);
67 int irda_write(int __fd, __const __ptr_t __bytes, int __size);
68 int irda_read(int __fd, __ptr_t __bytes, int __size);
69 int irda_select(int fd, struct timeval *timeout);