diff src/protocols/gg/libgg.h @ 9415:1c4092217e4a

[gaim-migrate @ 10230] " Adds support for status messages to Gadu Gadu. Please test Gaim support, as I have only been able to test it using a libgaim-style setting. May not apply cleanly to the plugin info section (callbacks) as I couldn't sync the latest commit there, it's not in anon-CVS yet. Should be easy to fix any conflict that occurs there." --Andrew Wellington please test committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 27 Jun 2004 18:19:09 +0000
parents 6a1f2c444ee7
children 318d14658f95
line wrap: on
line diff
--- a/src/protocols/gg/libgg.h	Sun Jun 27 17:52:05 2004 +0000
+++ b/src/protocols/gg/libgg.h	Sun Jun 27 18:19:09 2004 +0000
@@ -1,4 +1,4 @@
-/* $Id: libgg.h 10064 2004-06-11 03:58:48Z eblanton $ */
+/* $Id: libgg.h 10230 2004-06-27 18:19:09Z lschiere $ */
 
 /*
  *  (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>,
@@ -162,6 +162,7 @@
 void gg_logoff(struct gg_session *sess);
 int gg_write(struct gg_session *sess, const char *buf, int length);
 int gg_change_status(struct gg_session *sess, int status);
+int gg_change_status_descr(struct gg_session *sess, int status, const char *descr);
 int gg_send_message(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message);
 int gg_send_message_richtext(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, const unsigned char *format, int formatlen);
 int gg_ping(struct gg_session *sess);
@@ -531,6 +532,8 @@
 
 #define GG_STATUS_FRIENDS_MASK 0x8000		/* tylko dla znajomych (4.6) */
 
+#define GG_STATUS_DESCR_MAXSIZE 70
+
 /* GG_S() stan bez uwzględnienia trybu tylko dla znajomych */
 #define GG_S(x) ((x) & ~GG_STATUS_FRIENDS_MASK)