lib: added WIN32 check for usb_set_configuration()
[barry.git] / src / clog.h
blobfd482805a0ecf6dd4e7c8bcbc61798d55ebe5d83
1 ///
2 /// \file clog.h
3 /// C oriented logging routines for Barry
4 ///
6 /*
7 Copyright (C) 2010, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRY_CLOG_H__
23 #define __BARRY_CLOG_H__
25 #include "dll.h"
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
31 BXEXPORT void BarryLogf(int verbose, const char *msg, ...) BARRY_GCC_FORMAT_CHECK(2, 3);
33 #ifdef __cplusplus
35 #endif
37 #endif // __BARRY_CLOG_H__