libnfc  1.7.1
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  * See AUTHORS file for a more comprehensive list of contributors.
11  * Additional contributors of this file:
12  *
13  * This program is free software: you can redistribute it and/or modify it
14  * under the terms of the GNU Lesser General Public License as published by the
15  * Free Software Foundation, either version 3 of the License, or (at your
16  * option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful, but WITHOUT
19  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
21  * more details.
22  *
23  * You should have received a copy of the GNU Lesser General Public License
24  * along with this program. If not, see <http://www.gnu.org/licenses/>
25  */
26 
27 #ifndef __LOG_INTERNAL_H__
28 #define __LOG_INTERNAL_H__
29 
30 #ifdef HAVE_CONFIG_H
31 # include "config.h"
32 #endif // HAVE_CONFIG_H
33 
34 #include <stdarg.h>
35 
36 // Internal methods so different platforms can route the logging
37 // Offering both forms of the variadic function
38 // These are implemented in the log_<platform> specific file
39 void log_put_internal(const char *format, ...);
40 void log_vput_internal(const char *format, va_list args);
41 
42 #endif // __LOG_INTERNAL_H__