libnfc  1.7.0-rc7
log-internal.h
1 /*-
2  * Free/Libre Near Field Communication (NFC) library
3  *
4  * Libnfc historical contributors:
5  * Copyright (C) 2009 Roel Verdult
6  * Copyright (C) 2009-2013 Romuald Conty
7  * Copyright (C) 2010-2012 Romain Tartière
8  * Copyright (C) 2010-2013 Philippe Teuwen
9  * Copyright (C) 2012-2013 Ludovic Rousseau
10  * Additional contributors of this file:
11  *
12  * This program is free software: you can redistribute it and/or modify it
13  * under the terms of the GNU Lesser General Public License as published by the
14  * Free Software Foundation, either version 3 of the License, or (at your
15  * option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful, but WITHOUT
18  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
20  * more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this program. If not, see <http://www.gnu.org/licenses/>
24  */
25 
26 #ifndef __LOG_INTERNAL_H__
27 #define __LOG_INTERNAL_H__
28 
29 #ifdef HAVE_CONFIG_H
30 # include "config.h"
31 #endif // HAVE_CONFIG_H
32 
33 #include <stdarg.h>
34 
35 // Internal methods so different platforms can route the logging
36 // Offering both forms of the variadic function
37 // These are implemented in the log_<platform> specific file
38 void log_put_internal(const char *format, ...);
39 void log_vput_internal(const char *format, va_list args);
40 
41 #endif // __LOG_INTERNAL_H__