sip_event.c File Reference


Detailed Description

Event SIP headers.

Implementation of header classes for event-related SIP headers Event, Allow-Events, and Subscription-State.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>.
Date:
Created: Thu Sep 13 21:24:15 EEST 2001 ppessi

#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, isize_t 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, isize_t xtra)
 Duplicate one sip_subscription_state_t object.

Variables

msg_hclass_t sip_event_class []
 Header class for Event header.
msg_hclass_t sip_allow_events_class []
 Header class for Allow-Events header.
msg_hclass_t sip_subscription_state_class []
 Header class for Subscription-State header.

Function Documentation

int sip_allow_events_add ( su_home_t *  home,
sip_allow_events_t ae,
char const *  event 
)

Add an event to Allow-Events header.

Note:
This function does duplicate event.
Deprecated:
Use msg_header_replace_item() directly.


Sofia-SIP 1.12.4 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.