tport_sigcomp.c File Reference


Detailed Description

Transport using SigComp.

Incomplete.

See tport.docs for more detailed description of tport interface.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>

Martti Mela <Martti.Mela@nokia-email.address.hidden>

Date:
Created: Fri Mar 24 08:45:49 EET 2006 ppessi

#include "config.h"
#include "tport.h"
#include <sofia-sip/string0.h>
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <sigcomp.h>

Include dependency graph for tport_sigcomp.c:


Data Structures

struct  tport_compressor
 Per end-point SigComp data. More...
struct  tport_comp
 Per-socket SigComp data. More...

Functions

int vsc_can_recv_sigcomp (tport_sigcomp_t const *sc)
 Check if transport can receive compressed messages.
int vsc_can_send_sigcomp (tport_sigcomp_t const *sc)
 Check if transport can send compressed messages.
int vsc_set_compression (tport_t *self, tport_sigcomp_t *sc, char const *comp)
 Set/reset compression.
int tport_sigcomp_assign (tport_t *self, struct sigcomp_compartment *cc)
 Assign a SigComp compartment to a connection-oriented tport.
int vsc_has_sigcomp_assigned (tport_sigcomp_t const *sc)
 Test if tport has a SigComp compartment is assigned to it.
int tport_sigcomp_accept (tport_t *self, struct sigcomp_compartment *cc, msg_t *msg)
 Accept SigComp message.
void tport_sigcomp_deliver (tport_t *self, msg_t *msg, su_time_t now)
 Pass message to the protocol stack.

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