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

Defines | Functions | Variables

torture_su_tag.c File Reference

#include "config.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sofia-sip/su_tag.h>
#include <sofia-sip/su_tag_io.h>
#include <sofia-sip/su_tag_class.h>
#include <sofia-sip/su_tagarg.h>
#include <sofia-sip/tstdef.h>
Include dependency graph for torture_su_tag.c:

Go to the source code of this file.


#define DEVNULL   "/dev/null"
#define TAG_A(s)   tag_a, tag_str_v((s))
#define TAG_A_REF(s)   tag_a_ref, tag_str_vr(&(s))
#define TAG_ANY_PQ()   tag_any_pq, (tag_value_t)0
#define TAG_B(s)   tag_b, tag_str_v((s))
#define TAG_B_REF(s)   tag_b_ref, tag_str_vr(&(s))
#define TAG_I(i)   tag_i, tag_int_v((i))
#define TAG_I_REF(i)   tag_i_ref, tag_int_vr(&(i))
#define TAG_J(i)   tag_j, tag_int_v((i))
#define TAG_J_REF(i)   tag_j_ref, tag_int_vr(&(i))
#define TAG_K(i)   tag_k, tag_int_v((i))
#define TAG_K_REF(i)   tag_k_ref, tag_int_vr(&(i))
#define TAG_NAMESPACE   "pq"
#define TAG_P(i)   tag_p, tag_bool_v((i))
#define TAG_P_REF(i)   tag_p_ref, tag_bool_vr(&(i))
#define TAG_Q(i)   tag_q, tag_bool_v((i))
#define TAG_Q_REF(i)   tag_q_ref, tag_bool_vr(&(i))
#define TSTFLAGS   tstflags


int filter (tagi_t const *filter, tagi_t const *t)
static void init_tags (void)
int main (int argc, char *argv[])
static int test_assumptions (void)
static int test_dup (void)
static int test_filters (void)
static int test_gets (void)
static int test_print (void)
static int test_scan (void)
static int test_stackargs (int l,...)
static int test_tagargs (void)
static int test_tagargs2 (tag_type_t tag, tag_value_t value,...)
void usage (int exitcode)


char const * name = "su_tag_test"
tag_typedef_t tag_a = STRTAG_TYPEDEF(a)
tag_typedef_t tag_a_ref = REFTAG_TYPEDEF(tag_a)
tag_typedef_t tag_any_pq = NSTAG_TYPEDEF(*)
tag_typedef_t tag_b = STRTAG_TYPEDEF(b)
tag_typedef_t tag_b_ref = REFTAG_TYPEDEF(tag_b)
tag_typedef_t tag_i = INTTAG_TYPEDEF(i)
tag_typedef_t tag_i_ref = REFTAG_TYPEDEF(tag_i)
tag_typedef_t tag_j = INTTAG_TYPEDEF(j)
tag_typedef_t tag_j_ref = REFTAG_TYPEDEF(tag_j)
tag_typedef_t tag_k = INTTAG_TYPEDEF(k)
tag_typedef_t tag_k_ref = REFTAG_TYPEDEF(tag_k)
tag_typedef_t tag_n = INTTAG_TYPEDEF(n)
tag_typedef_t tag_n_ref = REFTAG_TYPEDEF(tag_n)
tag_typedef_t tag_p = BOOLTAG_TYPEDEF(p)
tag_typedef_t tag_p_ref = REFTAG_TYPEDEF(tag_p)
tag_typedef_t tag_q = BOOLTAG_TYPEDEF(q)
tag_typedef_t tag_q_ref = REFTAG_TYPEDEF(tag_q)
int tstflags = 0

Detailed Description

Testing functions for su_tag module.

Pekka Pessi <Pekka.Pessi@nokia.com>
Created: Tue Mar 6 18:33:42 2001 ppessi

Definition in file torture_su_tag.c.

Generated by  Doxygen 1.6.0   Back to index