Commit b6c6ebdb authored by Pekka Pessi's avatar Pekka Pessi

Added nua_unpublish().

Some cosmetic changes, too.

darcs-hash:20051103131824-65a35-efda579b3cf02af36a31015c4d7984070ffca359.gz
parent 0786eb6f
......@@ -116,7 +116,7 @@ typedef enum nua_event_e {
nua_r_info, /**< Answer to outgoing INFO */
nua_r_update, /**< Answer to outgoing UPDATE */
nua_r_message, /**< Answer to outgoing MESSAGE */
nua_r_chat, /**< Answer to outgoing chat MESSAGE */
nua_r_chat, /**< Answer to outgoing chat message */
nua_r_subscribe, /**< Answer to outgoing SUBSCRIBE */
nua_r_unsubscribe, /**< Answer to outgoing un-SUBSCRIBE */
nua_r_notify, /**< Answer to outgoing NOTIFY */
......@@ -273,6 +273,9 @@ void nua_options(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...);
/** Send PUBLISH request to publication server. */
void nua_publish(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...);
/** Send un-PUBLISH request to publication server. */
void nua_unpublish(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...);
/** Send an instant message. */
void nua_message(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...);
......
......@@ -2377,7 +2377,7 @@ dialog_usage_add(nua_handle_t *nh,
if (du) { /* Already exists */
SU_DEBUG_5(("nua(%p): adding already existing %s usage%s%s\n",
nh, dialog_usage_name(du),
event ? " with event " : "", event ? event->o_type : ""));
event ? " with event " : "", event ? event->o_type : ""));
if (prev_du != &ds->ds_usage) {
/* Move as a first usage in the list */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment