Mercurial > pidgin
view doc/cipher-signals.dox @ 16730:a2e9890a57e0
Implement msim_pack(), msim_sendh(), msim_send().
msim_pack() converts a hash table to a protocol message string.
msim_sendh() sends a protocol message using msim_send_raw, after
converting the hash table to a string using msim_pack().
msim_send() accepts variable arguments and converts them to a
hash table, then sends using msim_sendh().
These are part of the TODO item "Generic protocol message sending
function, that handles packing of messages", but functions haven't
been updated to use msim_send() instead of msim_send_raw() yet.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 20 May 2007 07:08:57 +0000 |
parents | 8cf53d7a0887 |
children | e0613cf8c493 |
line wrap: on
line source
/** @page cipher-signals Cipher Signals @signals @signal cipher-added @signal cipher-removed @endsignals <hr> @signaldef cipher-added @signalproto void (*cipher_added)(PurpleCipher *cipher); @endsignalproto @signaldesc Emitted when a cipher is added. @param cipher The cipher that was added. @endsignaldef @signaldef cipher-removed @signalproto void (*cipher_removed)(PurpleCipher *cipher); @endsignalproto @signaldesc Emitted when a cipher is removed. @param cipher The cipher that was removed. @endsignaldef */ // vim: syntax=c tw=75 et