libpurple/protocols/ircv3/purpleircv3connection.h

changeset 42013
5634642aca06
parent 42000
0b26ebc842db
child 42023
5bda87b90d8d
--- a/libpurple/protocols/ircv3/purpleircv3connection.h	Fri Jan 13 01:09:26 2023 -0600
+++ b/libpurple/protocols/ircv3/purpleircv3connection.h	Fri Jan 13 01:12:30 2023 -0600
@@ -62,6 +62,18 @@
  */
 PurpleIRCv3Capabilities *purple_ircv3_connection_get_capabilities(PurpleIRCv3Connection *connection);
 
+/**
+ * purple_ircv3_connection_get_registered:
+ * @connection: The instance.
+ *
+ * Gets whether or not the connection has finished the registration process.
+ *
+ * Returns: %TRUE if registration has been completed otherwise %FALSE.
+ *
+ * Since: 3.0.0
+ */
+gboolean purple_ircv3_connection_get_registered(PurpleIRCv3Connection *connection);
+
 G_END_DECLS
 
 #endif /* PURPLE_IRCV3_CONNECTION_H */

mercurial