Adjust copyright for 2010
[bcusdk.git] / eibd / backend / lowlatency.h
blob03b3ef900bdc82206ddf1aa8782a4b3ea8f33aa5
1 /*
2 EIBD eib bus access and management daemon
3 Copyright (C) 2005-2010 Martin Koegler <mkoegler@auto.tuwien.ac.at>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef LOW_LATENCY_H
21 #define LOW_LATENCY_H
23 #include "config.h"
25 #ifdef HAVE_LINUX_LOWLATENCY
26 #include <linux/serial.h>
27 typedef struct serial_struct low_latency_save;
29 #else
31 typedef int low_latency_save;
33 #endif
36 void set_low_latency (int fd, low_latency_save * save);
37 void restore_low_latency (int fd, low_latency_save * save);
39 #endif