diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/nogaim.c | 10 | ||||
| -rw-r--r-- | protocols/nogaim.h | 2 | 
2 files changed, 12 insertions, 0 deletions
| diff --git a/protocols/nogaim.c b/protocols/nogaim.c index 9ed3b64b..c902258a 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -229,6 +229,16 @@ void nogaim_init()  #endif  } +GList *get_protocols() +{ +	return protocols; +} + +GList *get_protocols_disabled() +{ +	return disabled_protocols; +} +  GSList *get_connections()  {  	return connections; diff --git a/protocols/nogaim.h b/protocols/nogaim.h index f5b1f212..e5569313 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -286,6 +286,8 @@ G_MODULE_EXPORT GList *get_plugins();  /* 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); | 
