Mercurial > pidgin
comparison plugins/SIGNALS @ 1392:dc6ba774bfc5
[gaim-migrate @ 1402]
erg
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 07 Jan 2001 20:39:03 +0000 |
parents | 4927ce25d8cc |
children | 96e93119268d |
comparison
equal
deleted
inserted
replaced
1391:d606da211acb | 1392:dc6ba774bfc5 |
---|---|
95 'gc' is the connection that you are about to send the message through. | 95 'gc' is the connection that you are about to send the message through. |
96 'who' is the username of the person you're sending the message to. | 96 'who' is the username of the person you're sending the message to. |
97 'text' is the actual strict text (with HTML tags and all) of the | 97 'text' is the actual strict text (with HTML tags and all) of the |
98 message you're sending. | 98 message you're sending. |
99 | 99 |
100 Note that you can modify outgoing text. (You are _not_ encouraged to | 100 Note that you can modify outgoing text. The **text points to a g_malloc'd |
101 do so ;-) .) | 101 data chunk that contains the text. If your plugin changes it, it should |
102 either not add length to the string, or g_free *text and g_malloc a new | |
103 segment. Since plugins can modify this, you should not try and remember it | |
104 in your plugin. | |
102 | 105 |
103 event_buddy_signon: | 106 event_buddy_signon: |
104 struct gaim_connection *gc, char *who | 107 struct gaim_connection *gc, char *who |
105 | 108 |
106 'who' is who signed on. (There is currently no way to see which connection | 109 'who' is who signed on. (There is currently no way to see which connection |
196 'text' is what you're about to say, linkified/HTML-ized, but not | 199 'text' is what you're about to say, linkified/HTML-ized, but not |
197 TOC-escaped. | 200 TOC-escaped. |
198 | 201 |
199 Be aware that you receive messages you send (as noted above). This | 202 Be aware that you receive messages you send (as noted above). This |
200 event will be called before you actually send the message though. | 203 event will be called before you actually send the message though. |
204 The **text pointer behaves the same as the **text pointer for the | |
205 event_im_send event above; so read the note about it there. | |
201 | 206 |
202 event_warned: | 207 event_warned: |
203 char *who, int level | 208 char *who, int level |
204 | 209 |
205 'who' is who warned you. Note that this can be NULL, indicating either | 210 'who' is who warned you. Note that this can be NULL, indicating either |