This commit was manufactured by cvs2svn to create branch 'decode'.
[gnokii.git] / include / devices / unixirda.h
1 /*
2  * $Id$
3  *
4  * G N O K I I
5  *
6  * A Linux/Unix toolset and driver for Nokia mobile phones.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  *
22  */
23
24 #include <stdlib.h>
25 #include <unistd.h>
26 #include <stdio.h>
27 #include <fcntl.h>
28 #include <errno.h>
29 #include <string.h>
30 #include <sys/time.h>
31 #include <sys/poll.h>
32 #include <sys/socket.h>
33
34 #include "linuxirda.h"
35 #include "misc.h"
36
37 int irda_open(void);
38 int irda_close(int fd);
39 int irda_write(int __fd, __const __ptr_t __bytes, int __size);
40 int irda_read(int __fd, __ptr_t __bytes, int __size);
41 int irda_select(int fd, struct timeval *timeout);