Mercurial > pidgin.yaz
view pidgin/gtksourceview-marshal.h @ 23613:0a674616953c
Added `flap_connection_send_snac_with_priority()`, which allows specifying
high versus low priority for the SNAC to be sent.
If we are not rate limited, a SNAC is always sent immediately.
If we are at or near the rate limit, the SNAC may be queued to be sent
when it wouldn't violate a rate limit to do so.
Previously, SNACs were always sent in the order requested.
A SNAC may now be set to be low priority, in which case other SNACs
will be sent first if a queue is in use. This means that even if we have
120 'get ICQ status note' requests in the queue, a 'send message' SNAC can
still be sent nearly immediately (rather than after a 10 minute or so delay).
`flap_connection_send_snac_()` calls `flap_connection_send_snac_with_priority`
with high priority. Get Info requests (including ICQ Status Note requests) are
the only low priority SNACs at this time.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 20 Jul 2008 05:47:42 +0000 |
parents | 674d8bc2b980 |
children |
line wrap: on
line source
#ifndef __gtksourceview_marshal_MARSHAL_H__ #define __gtksourceview_marshal_MARSHAL_H__ #include <glib-object.h> G_BEGIN_DECLS /* VOID:VOID (gtksourceview-marshal.list:1) */ #define gtksourceview_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID /* VOID:BOOLEAN (gtksourceview-marshal.list:2) */ #define gtksourceview_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN /* VOID:BOXED (gtksourceview-marshal.list:3) */ #define gtksourceview_marshal_VOID__BOXED g_cclosure_marshal_VOID__BOXED /* VOID:BOXED,BOXED (gtksourceview-marshal.list:4) */ extern void gtksourceview_marshal_VOID__BOXED_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); /* VOID:STRING (gtksourceview-marshal.list:5) */ #define gtksourceview_marshal_VOID__STRING g_cclosure_marshal_VOID__STRING G_END_DECLS #endif /* __gtksourceview_marshal_MARSHAL_H__ */