The file sip_event.c contains implementation of header classes for event-related SIP headers Event, Allow-Events, and Subscription-State.
#include "config.h"
#include "sofia-sip/sip_parser.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Include dependency graph for sip_event.c:
Functions | |
char * | sip_event_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, int xtra) |
Duplicate one sip_event_t object. | |
int | sip_allow_events_add (su_home_t *home, sip_allow_events_t *ae, char const *event) |
Add an event to Allow-Events header. | |
char * | sip_subscription_state_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, int xtra) |
Duplicate one sip_subscription_state_t object. | |
Variables | |
msg_hclass_t | sip_event_class [] |
Header class for SIP Event header. | |
msg_hclass_t | sip_allow_events_class [] |
Header class for SIP Allow-Events header. | |
msg_hclass_t | sip_subscription_state_class [] |
Header class for SIP Subscription-State header. |
int sip_allow_events_add | ( | su_home_t * | home, | |
sip_allow_events_t * | ae, | |||
char const * | event | |||
) |
Add an event to Allow-Events header.
event
.