comparison libpurple/protocols/mxit/protocol.h @ 29782:81ea740f92a4

Add extra parameter to mxit_send_message() function to indicate if the message should be sent normally or as a MXit command.
author andrew.victor@mxit.com
date Tue, 26 Jan 2010 14:26:22 +0000
parents 69aa4660401a
children 4232e6b27bea
comparison
equal deleted inserted replaced
29781:232fcf1755d6 29782:81ea740f92a4
271 void mxit_send_ping( struct MXitSession* session ); 271 void mxit_send_ping( struct MXitSession* session );
272 void mxit_send_poll( struct MXitSession* session ); 272 void mxit_send_poll( struct MXitSession* session );
273 273
274 void mxit_send_presence( struct MXitSession* session, int presence, const char* statusmsg ); 274 void mxit_send_presence( struct MXitSession* session, int presence, const char* statusmsg );
275 void mxit_send_mood( struct MXitSession* session, int mood ); 275 void mxit_send_mood( struct MXitSession* session, int mood );
276 void mxit_send_message( struct MXitSession* session, const char* to, const char* msg, gboolean parse_markup ); 276 void mxit_send_message( struct MXitSession* session, const char* to, const char* msg, gboolean parse_markup, gboolean is_command );
277 277
278 void mxit_send_extprofile_update( struct MXitSession* session, const char* password, unsigned int nr_attrib, const char* attributes ); 278 void mxit_send_extprofile_update( struct MXitSession* session, const char* password, unsigned int nr_attrib, const char* attributes );
279 void mxit_send_extprofile_request( struct MXitSession* session, const char* username, unsigned int nr_attrib, const char* attribute[] ); 279 void mxit_send_extprofile_request( struct MXitSession* session, const char* username, unsigned int nr_attrib, const char* attribute[] );
280 280
281 void mxit_send_invite( struct MXitSession* session, const char* username, const char* alias, const char* groupname ); 281 void mxit_send_invite( struct MXitSession* session, const char* username, const char* alias, const char* groupname );