libpurple/prpl.h

branch
soc.2013.gobjectification
changeset 34940
c0aef3b64c56
parent 34910
60502558e400
parent 34327
a899fa8f95d5
child 35393
00f876b129bc
--- a/libpurple/prpl.h	Sat Sep 07 02:30:39 2013 +0530
+++ b/libpurple/prpl.h	Thu Sep 12 19:08:48 2013 +0530
@@ -972,6 +972,18 @@
  */
 void purple_prpl_got_media_caps(PurpleAccount *account, const char *who);
 
+/**
+ * Gets the safe maximum message size in bytes for the protocol plugin.
+ *
+ * @see PurplePluginProtocolInfo#get_max_message_size
+ *
+ * @param prpl The protocol plugin to query.
+ *
+ * @return Maximum message size, 0 if unspecified, -1 for infinite.
+ */
+gssize
+purple_prpl_get_max_message_size(PurplePlugin *prpl);
+
 /*@}*/
 
 /**************************************************************************/

mercurial