summaryrefslogtreecommitdiff
path: root/libpurple/purpleprivate.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-01-26 01:46:21 -0600
committerGary Kramlich <grim@reaperworld.com>2021-01-26 01:46:21 -0600
commit3bc249a88a166e42e6d7a0c35f5d4fcbe7d8bcbe (patch)
treee5990bf596b7a7b54ea82a1fb93cfa9367bd067e /libpurple/purpleprivate.h
parentaeb0d813a903f8ed6707e2ba75ed93e147ba4077 (diff)
downloadpidgin-3bc249a88a166e42e6d7a0c35f5d4fcbe7d8bcbe.tar.gz
Create a new PurpleProtocolManager
* Created new PurpleProtocolManager object. * Updated the existing purple_protocols_* api to call the new api in the manager. Testing Done: * Ran unit tests * Ran libpurple-doc * Ran pidgin locally with bonjour, xmpp, and irc. Bugs closed: PIDGIN-17462 Reviewed at https://reviews.imfreedom.org/r/437/
Diffstat (limited to 'libpurple/purpleprivate.h')
-rw-r--r--libpurple/purpleprivate.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libpurple/purpleprivate.h b/libpurple/purpleprivate.h
index 04d87970de..84e142bc41 100644
--- a/libpurple/purpleprivate.h
+++ b/libpurple/purpleprivate.h
@@ -220,6 +220,20 @@ void purple_credential_manager_startup(void);
*/
void purple_credential_manager_shutdown(void);
+/**
+ * purple_protocol_manager_start:
+ *
+ * Starts up the protocol manager by creating the default instance.
+ */
+void purple_protocol_manager_startup(void);
+
+/**
+ * purple_protocol_manager_shutdown:
+ *
+ * Shutdowns down the protocol manager by destroying the default instance.
+ */
+void purple_protocol_manager_shutdown(void);
+
G_END_DECLS
#endif /* PURPLE_PRIVATE_H */