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

test_sip_msg.c File Reference


Detailed Description

Simple SIP message parser/printer tester.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>.
Date:
Created: Fri Feb 18 10:25:08 2000 ppessi

Definition in file test_sip_msg.c.

#include "config.h"
#include "sofia-sip/sip_parser.h"
#include "sofia-sip/msg_mclass.h"
#include "sofia-sip/msg_mclass_hash.h"
#include <sofia-sip/sip_header.h>
#include <sofia-sip/sip_util.h>
#include <sofia-sip/msg_addr.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define MSG_HDR_T   union sip_header_u
#define MSG_PUB_T   struct sip_s

Functions

int diff (const char *olds, const char *news, int *linep, int *pos)
int main (int argc, char *argv[])
void print_contact (FILE *f, sip_contact_t *m)
void print_via (FILE *f, sip_via_t *v)
int test_msg_class (msg_mclass_t const *mc)
char * url_print (url_t *url, char buf[1024])


Generated by  Doxygen 1.6.0   Back to index