tport_stub_sigcomp.c File Reference


Detailed Description

Stub interface for SigComp.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Fri Mar 31 12:31:36 EEST 2006

#include "config.h"
#include "tport_internal.h"

Include dependency graph for tport_stub_sigcomp.c:


Functions

char const * tport_canonize_comp (char const *comp)
 Canonize compression string.
int tport_can_recv_sigcomp (tport_t const *self)
 Check if transport can receive compressed messages.
int tport_can_send_sigcomp (tport_t const *self)
 Check if transport can send compressed messages.
int tport_has_compression (tport_t const *self, char const *comp)
 Check if transport supports named compression.
int tport_sigcomp_option (tport_t const *self, struct sigcomp_compartment *cc, char const *option)
 Set SigComp option.
int tport_has_sigcomp_assigned (tport_t const *self)
 Test if a SigComp compartment is assigned to a tport.
int tport_sigcomp_accept (tport_t *self, struct sigcomp_compartment *cc, msg_t *msg)
 Accept SigComp message.
void tport_sigcomp_accept_incomplete (tport_t *self, msg_t *msg)
 This function is called when the application message is still incomplete but a complete SigComp message could have been received.
int tport_recv_comp_dgram (tport_t const *self, tport_compressor_t *sc, msg_t **in_out_msg, su_sockaddr_t *from, socklen_t fromlen)
 Receive data from datagram using SigComp.

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