#include <stdlib.h>#include <libpurple/savedstatuses.h>#include <libpurple/status.h>#include "../../str.h"#include "purple.h"


Go to the source code of this file.
Functions | |
| void | purple_free_cmd (struct purple_cmd *cmd) |
| int | purple_send_message_cmd (str *from, str *to, str *body, str *id) |
| int | purple_send_publish_cmd (enum purple_publish_basic basic, PurpleStatusPrimitive primitive, str *from, str *id, str *note) |
| int | purple_send_subscribe_cmd (str *from, str *to, int expires) |
| void purple_free_cmd | ( | struct purple_cmd * | cmd | ) |
Definition at line 63 of file purplepipe.c.
References purple_message::body, purple_subscribe::from, purple_publish::from, purple_message::from, purple_publish::id, purple_message::id, LM_DBG, purple_cmd::message, purple_publish::note, purple_cmd::publish, PURPLE_MESSAGE_CMD, PURPLE_PUBLISH_CMD, PURPLE_SUBSCRIBE_CMD, shm_free, purple_cmd::subscribe, purple_subscribe::to, purple_message::to, and purple_cmd::type.
Referenced by pipe_reader(), and purple_send_cmd().
Definition at line 107 of file purplepipe.c.
References purple_message::body, purple_message::from, purple_message::id, LM_DBG, purple_cmd::message, NULL, PURPLE_MESSAGE_CMD, purple_new_cmd(), purple_send_cmd(), shm_strdup(), and purple_message::to.
Referenced by func_send_message().
| int purple_send_publish_cmd | ( | enum purple_publish_basic | basic, | |
| PurpleStatusPrimitive | primitive, | |||
| str * | from, | |||
| str * | id, | |||
| str * | note | |||
| ) |
Definition at line 121 of file purplepipe.c.
References purple_publish::basic, purple_publish::from, purple_publish::id, _str::len, LM_DBG, purple_publish::note, NULL, purple_publish::primitive, purple_cmd::publish, purple_new_cmd(), PURPLE_PUBLISH_CMD, purple_send_cmd(), _str::s, and shm_strdup().
Referenced by func_handle_publish().
Definition at line 136 of file purplepipe.c.
References purple_subscribe::expires, purple_subscribe::from, LM_DBG, NULL, purple_new_cmd(), purple_send_cmd(), PURPLE_SUBSCRIBE_CMD, shm_strdup(), purple_cmd::subscribe, and purple_subscribe::to.
Referenced by func_handle_subscribe().
1.5.6