2
* (C) Copyright 2009 Wojtek Kaniewski <wojtekka@irc.pl>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License Version
6
* 2.1 as published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
19
#ifndef LIBGADU_DEBUG_H
20
#define LIBGADU_DEBUG_H
24
const char *gg_debug_state(enum gg_state_t state);
25
const char *gg_debug_event(enum gg_event_t event);
26
void gg_debug_dump(struct gg_session *sess, int level, const char *buf, size_t len);
27
void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap);
29
#endif /* LIBGADU_DEBUG_H */