Implemented request_add callback.
[python-purple] / libpurple / plugin.pxd
index 5e5343e..7939bb2 100644 (file)
 
 cimport glib
 
+cimport prpl
+
 cdef extern from "libpurple/plugin.h":
     ctypedef struct PurplePluginInfo:
         char *id
         char *name
 
     ctypedef struct PurplePlugin:
+        glib.gboolean native_plugin
+        glib.gboolean loaded
+        void *handle
+        char *path
         PurplePluginInfo *info
+        char *error
+        void *ipc_data
+        void *extra
+        glib.gboolean unloadable
+        glib.GList *dependent_plugins
+
+    prpl.PurplePluginProtocolInfo *PURPLE_PLUGIN_PROTOCOL_INFO(PurplePlugin *plugin)
+    PurplePlugin *purple_plugin_new(glib.gboolean native, char* path)
+
+    void purple_plugins_add_search_path(char *path)
+    glib.GList *purple_plugins_get_protocols()
+    PurplePlugin purple_plugins_find_with_name(char *name)
+    PurplePlugin *purple_plugins_find_with_id(char *id)
+    char *purple_plugin_get_name(PurplePlugin *plugin)
+
 
-    void c_purple_plugins_add_search_path "purple_plugins_add_search_path" (char *path)
-    glib.GList *c_purple_plugins_get_protocols "purple_plugins_get_protocols" ()