* Gaim Citadel plugin.
*
* © 2006 David Given.
- * This code is licensed under the GPL v2. See the file COPYING in this
+ * This code is licensed under the GPL v3. See the file COPYING in this
* directory for the full license text.
*
- * $Id: auth.c 4258 2006-01-29 13:34:44 +0000 (Sun, 29 Jan 2006) dothebart $
+ * $Id:gaim.pkg 4326 2006-02-18 12:26:22Z hjalfi $
*/
typedef unsigned int size_t;
$#include "server.h"
$#include "notify.h"
$#include "util.h"
+$#include "debug.h"
$#include "interface.h"
} GaimBuddyPresenceState;
GaimGroup *gaim_group_new(const char *name);
+GaimGroup *gaim_find_group(const char *name);
GaimGroup *gaim_find_buddys_group(GaimBuddy *buddy);
GaimBuddy *gaim_buddy_new(GaimAccount *account, const char *screenname, const char *alias);
const char *gaim_group_get_name(GaimGroup *group); // fake --- added by plugin
const char *gaim_buddy_get_alias(GaimBuddy *buddy);
GaimBuddy *gaim_find_buddy(GaimAccount *account, const char *name);
void gaim_blist_add_buddy(GaimBuddy *buddy, GaimContact *contact, GaimGroup *group, GaimBlistNode *node);
+void gaim_blist_add_group(GaimGroup* group, GaimBlistNode* node);
/* --- notify.h ---------------------------------------------------------- */
const char *gaim_normalize(const GaimAccount *account, const char *str);
const char *gaim_normalize_nocase(const GaimAccount *account, const char *str);
+
+/* --- debug.h ----------------------------------------------------------- */
+
+typedef enum
+{
+ GAIM_DEBUG_ALL = 0, /**< All debug levels. */
+ GAIM_DEBUG_MISC, /**< General chatter. */
+ GAIM_DEBUG_INFO, /**< General operation Information. */
+ GAIM_DEBUG_WARNING, /**< Warnings. */
+ GAIM_DEBUG_ERROR, /**< Errors. */
+ GAIM_DEBUG_FATAL /**< Fatal errors. */
+
+} GaimDebugLevel;
+
+void gaim_debug(GaimDebugLevel level, const char *category,
+ const char *format);
+void gaim_debug_misc(const char *category, const char *format);
+void gaim_debug_info(const char *category, const char *format);
+void gaim_debug_warning(const char *category, const char *format);
+void gaim_debug_error(const char *category, const char *format);
+void gaim_debug_fatal(const char *category, const char *format);
+