libnfc
1.4.2
|
00001 /*- 00002 * Public platform independent Near Field Communication (NFC) library 00003 * 00004 * Copyright (C) 2009, 2010, Roel Verdult, Romuald Conty 00005 * 00006 * This program is free software: you can redistribute it and/or modify it 00007 * under the terms of the GNU Lesser General Public License as published by the 00008 * Free Software Foundation, either version 3 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but WITHOUT 00012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00014 * more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with this program. If not, see <http://www.gnu.org/licenses/> 00018 * 00019 */ 00020 00026 #ifdef HAVE_CONFIG_H 00027 # include "config.h" 00028 #endif // HAVE_CONFIG_H 00029 00030 #include "uart.h" 00031 00032 #include <nfc/nfc.h> 00033 #include <nfc/nfc-messages.h> 00034 00035 // Test if we are dealing with unix operating systems 00036 #ifndef _WIN32 00037 // The POSIX serial port implementation 00038 # include "uart_posix.c" 00039 #else 00040 // The windows serial port implementation 00041 # include "uart_win32.c" 00042 #endif /* _WIN32 */