]> git.evergreen-ils.org Git - Evergreen.git/blob - OpenSRF/src/libjson/debug.h
sort groups by name for consistancy
[Evergreen.git] / OpenSRF / src / libjson / debug.h
1 /*
2  * $Id$
3  *
4  * Copyright Metaparadigm Pte. Ltd. 2004.
5  * Michael Clark <michael@metaparadigm.com>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public (LGPL)
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details: http://www.gnu.org/
16  *
17  */
18
19 #ifndef _DEBUG_H_
20 #define _DEBUG_H_
21
22 #define errstr strerror(errno)
23
24 extern void mc_set_debug(int debug);
25 extern int mc_get_debug();
26
27 extern void mc_set_syslog(int syslog);
28 extern void mc_abort(const char *msg, ...);
29 extern void mc_debug(const char *msg, ...);
30 extern void mc_error(const char *msg, ...);
31 extern void mc_info(const char *msg, ...);
32
33 #endif