#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <sofia-sip/su_tagarg.h>
#include <sofia-sip/sip.h>
#include <sofia-sip/sip_header.h>
#include <sofia-sip/sip_util.h>
#include <sofia-sip/sip_status.h>
#include <sofia-sip/su_wait.h>
#include "sofia-sip/nea.h"
Include dependency graph for nea.c:
Functions | |
nea_t * | nea_create (nta_agent_t *agent, su_root_t *root, nea_notify_f no_callback, nea_magic_t *context, tag_type_t tag, tag_value_t value,...) |
Create a subscription agent. | |
int | nea_update (nea_t *nea, tag_type_t tag, tag_value_t value,...) |
Update SUBSCRIBE payload (filter rules). | |
void | nea_end (nea_t *nea) |
Unsubscribe agent. | |
void | nea_destroy (nea_t *nea) |
Destroy a subscription agent. | |
int | handle_notify (nea_t *nea, nta_leg_t *leg, nta_incoming_t *irq, sip_t const *sip) |
handle notifications |
nea_t* nea_create | ( | nta_agent_t * | agent, | |
su_root_t * | root, | |||
nea_notify_f | no_callback, | |||
nea_magic_t * | context, | |||
tag_type_t | tag, | |||
tag_value_t | value, | |||
... | ||||
) |
Create a subscription agent.
void nea_destroy | ( | nea_t * | agent | ) |
Destroy a subscription agent.
void nea_end | ( | nea_t * | nea | ) |
Unsubscribe agent.