Implementation of header classes for Caller-Preferences-related SIP headers Accept-Contact, Reject-Contact, and Request-Disposition.
#include "config.h"
#include "sofia-sip/sip_parser.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
Include dependency graph for sip_caller_prefs.c:

Functions | |
| char * | sip_request_disposition_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, isize_t xtra) |
| Duplicate one sip_request_disposition_t object. | |
| int | sip_caller_prefs_add_param (su_home_t *home, sip_caller_prefs_t *cp, char const *param) |
| Add a parameter to a Accept-Contact or Reject-Contact header object. | |
Variables | |
| msg_hclass_t | sip_request_disposition_class [] |
| Header class for Request-Disposition header. | |
| msg_hclass_t | sip_accept_contact_class [] |
| Header class for Accept-Contact header. | |
| msg_hclass_t | sip_reject_contact_class [] |
| Header class for Reject-Contact header. | |
| int sip_caller_prefs_add_param | ( | su_home_t * | home, | |
| sip_caller_prefs_t * | cp, | |||
| char const * | param | |||
| ) |
Add a parameter to a Accept-Contact or Reject-Contact header object.
param.| home | memory home | |
| cp | pointer to sip_accept_contact_t or sip_reject_contact_t | |
| param | parameter string |
| 0 | when successful | |
| -1 | upon an error |