#include <stdlib.h>#include <string.h>#include <libxml/parser.h>#include "../../dprint.h"#include "../../str.h"#include "../tm/tm_load.h"#include "../pua/pua_bind.h"#include "../pua/pidf.h"#include "purple.h"#include "purple_sip.h"

Go to the source code of this file.
Functions | |
| static str * | build_pidf (char *uri, char *id, enum purple_publish_basic basic, enum purple_publish_activity activity, const char *note) |
| int | purple_send_sip_msg (char *to, char *from, char *msg) |
| int | purple_send_sip_publish (char *from, char *tupleid, enum purple_publish_basic basic, enum purple_publish_activity primitive, const char *note) |
Variables | |
| send_publish_t | pua_send_publish |
| struct tm_binds | tmb |
| static str* build_pidf | ( | char * | uri, | |
| char * | id, | |||
| enum purple_publish_basic | basic, | |||
| enum purple_publish_activity | activity, | |||
| const char * | note | |||
| ) | [static] |
Definition at line 64 of file purple_sip.c.
References _str::len, LM_DBG, LM_ERR, NULL, pkg_free, pkg_malloc, PURPLE_ACTIVITY_AVAILABLE, PURPLE_ACTIVITY_AWAY, PURPLE_ACTIVITY_BUSY, PURPLE_BASIC_CLOSED, PURPLE_BASIC_OPEN, and _str::s.
| int purple_send_sip_msg | ( | char * | to, | |
| char * | from, | |||
| char * | msg | |||
| ) |
Definition at line 37 of file purple_sip.c.
References CRLF, _str::len, LM_DBG, LM_ERR, msg_type, _str::s, snprintf, tm_binds::t_request, and tmb.
Referenced by write_conv().
| int purple_send_sip_publish | ( | char * | from, | |
| char * | tupleid, | |||
| enum purple_publish_basic | basic, | |||
| enum purple_publish_activity | primitive, | |||
| const char * | note | |||
| ) |
Definition at line 205 of file purple_sip.c.
References publ_info::body, build_pidf(), publ_info::event, publ_info::expires, _str::len, LM_DBG, LM_ERR, NULL, publ_info::pres_uri, PRESENCE_EVENT, pua_send_publish, PURPLE_BASIC_OPEN, PURPLE_PUBLISH, _str::s, and publ_info::source_flag.
Referenced by buddy_signed_off(), buddy_signed_on(), buddy_status_changed(), and pipe_handle_subscribe().
Definition at line 51 of file pua_bla.c.
Referenced by bla_handle_notify(), build_publish(), init(), mi_pua_publish(), mod_init(), purple_send_sip_publish(), and ul_publish().
1.5.6