Logo Search packages:      
Sourcecode: sofia-sip version File versions

test_class.c File Reference


Detailed Description

Message class for testing parser and transports.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>
Date:
Created: Tue Mar 5 11:57:20 2002 ppessi

Definition in file test_class.c.

#include "config.h"
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include "test_class.h"
#include <sofia-sip/msg_parser.h>
#include <sofia-sip/msg_mclass.h>
#include "test_protos.h"
#include <sofia-sip/msg_addr.h>
#include <sofia-sip/su_tag_class.h>
#include <sofia-sip/su_tag_inline.h>
#include <sofia-sip/su_tagarg.h>
#include <sofia-sip/msg_tag_class.h>

Go to the source code of this file.

Defines

#define msg_generic_update   NULL
#define TAG_NAMESPACE   "tst"

Functions

issize_t msg_request_d (su_home_t *home, msg_header_t *h, char *s, isize_t slen)
char * msg_request_dup_one (msg_header_t *dst, msg_header_t const *src, char *b, isize_t xtra)
isize_t msg_request_dup_xtra (msg_header_t const *h, isize_t offset)
issize_t msg_request_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
issize_t msg_status_d (su_home_t *home, msg_header_t *h, char *s, isize_t slen)
char * msg_status_dup_one (msg_header_t *dst, msg_header_t const *src, char *b, isize_t xtra)
isize_t msg_status_dup_xtra (msg_header_t const *h, isize_t offset)
issize_t msg_status_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
msg_mclass_t const * msg_test_default (void)
issize_t msg_test_extract_body (msg_t *msg, msg_pub_t *pub, char b[], isize_t bsiz, int eos)
int tst_add_tl (msg_t *msg, msg_test_t *tst, tag_type_t tag, tag_value_t value,...)
tagi_ttsttag_filter (tagi_t *dst, tagi_t const f[], tagi_t const *src, void **bb)

Variables

msg_href_t const msg_content_length_href [1]
msg_hclass_t msg_request_class []
static msg_dup_f msg_request_dup_one
static msg_xtra_f msg_request_dup_xtra
msg_hclass_t msg_status_class [1]
static msg_dup_f msg_status_dup_one
static msg_xtra_f msg_status_dup_xtra
msg_mclass_t const msg_test_mclass [1]
msg_hclass_t test_auth_class []
msg_hclass_t test_numeric_class []
tag_class_t tsthdrtag_class [1]
tag_class_t tstmsgtag_class [1]
tag_class_t tststrtag_class [1]
tag_typedef_t tsttag_header
tag_typedef_t tsttag_header_str = STRTAG_TYPEDEF(header_str)


Generated by  Doxygen 1.6.0   Back to index