view libpurple/plugins/mono/loader/mono-glue.h @ 26252:535c866b433c

Hide the structs, add accessors, and fix various smaller things: * Make the flags an enum instead of #defines * There were two sets of _in_progress functions, removed one. * Adjusted a few return types to match usage * Move the fetch_count into the prpl's protocol_data (which is no longer the JabberStream but a dedicated struct)
author Paul Aurich <paul@darkrain42.org>
date Mon, 30 Mar 2009 00:42:15 +0000
parents 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_MONO_LOADER_GLUE_H_
#define _PURPLE_MONO_LOADER_GLUE_H_

#include <mono/jit/jit.h>
#include <mono/metadata/object.h>
#include <mono/metadata/environment.h>
#include <mono/metadata/assembly.h>

void purple_debug_glue(int type, MonoString *cat, MonoString *str);

int purple_signal_connect_glue(MonoObject *h, MonoObject *plugin, MonoString *signal, MonoObject *func);

MonoObject* purple_blist_get_handle_glue(void);

MonoObject* purple_blist_build_buddy_object(void* buddy);

MonoObject* purple_status_build_status_object(void* data);

#endif