aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.h
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
committerMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
commit3448d86a3f329ec4d625bd72e64a96061e71e675 (patch)
treeff41da0d1f55d449b24a91e4b7a91cab0cbcc84d /protocols/nogaim.h
parent8e4d9a1769a7d566278ed95d94a1cabd8fdc62e7 (diff)
parent59a7dc58dcf39b7eaed2015423f8a4fc2da3c7fd (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r--protocols/nogaim.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index 40b1ed7b..e5569313 100644
--- a/protocols/nogaim.h
+++ b/protocols/nogaim.h
@@ -270,8 +270,24 @@ struct prpl {
void *resv5;
};
+struct plugin_info
+{
+ guint abiver;
+ const char *name;
+ const char *version;
+ const char *description;
+ const char *author;
+ const char *url;
+};
+
+#ifdef WITH_PLUGINS
+G_MODULE_EXPORT GList *get_plugins();
+#endif
+
/* im_api core stuff. */
void nogaim_init();
+G_MODULE_EXPORT GList *get_protocols();
+G_MODULE_EXPORT GList *get_protocols_disabled();
G_MODULE_EXPORT GSList *get_connections();
G_MODULE_EXPORT struct prpl *find_protocol(const char *name);
G_MODULE_EXPORT gboolean is_protocol_disabled(const char *name);