sip 1.12.11devel
Loading...
Searching...
No Matches
sip_tag_class.h
Go to the documentation of this file.
1/*
2 * This file is part of the Sofia-SIP package
3 *
4 * Copyright (C) 2005 Nokia Corporation.
5 *
6 * Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 *
23 */
24
25#ifndef SIP_TAG_CLASS_H
27#define SIP_TAG_CLASS_H
28
29
40#ifndef SU_TAG_CLASS_H
42#endif
43
44#ifndef MSG_TAG_CLASS_H
46#endif
47
48SOFIA_BEGIN_DECLS
49
51#define SIPHDRTAG_NAMED_TYPEDEF(n, t) \
52{{ TAG_NAMESPACE, #n, siphdrtag_class, \
53 (tag_value_t)sip_##t##_class }}
54
56#define SIPHDRTAG_TYPEDEF(t) SIPHDRTAG_NAMED_TYPEDEF(t, t)
57
59#define SIPSTRTAG_TYPEDEF(t) \
60{{ TAG_NAMESPACE, #t "_str", sipstrtag_class, \
61 (tag_value_t)sip_##t##_class }}
62
64#define SIPMSGTAG_TYPEDEF(t) \
65 {{ TAG_NAMESPACE, #t, sipmsgtag_class, \
66 (tag_value_t)SIP_PROTOCOL_TAG }}
67
74
76#define SIPEXTHDRTAG_TYPEDEF(n, t) \
77{{ TAG_NAMESPACE, #n, sipexthdrtag_class, \
78 (tag_value_t)sip_##t##_class }}
79
82
83
86 tagi_t const *src,
87 void **bb);
88
89SOFIA_END_DECLS
90
91#endif
tag_class_t sipexthdrtag_class[1]
Tag class using SIP header structure.
Definition sip_tag_class.c:57
tagi_t * siptag_filter(tagi_t *dst, tagi_t const f[], tagi_t const *src, void **bb)
Filter a for SIP header tag.
Definition sip_tag_class.c:135
tag_class_t sipmsgtag_class[1]
Tag class for SIP message.
Definition sip_tag_class.c:109
tag_class_t sipstrtag_class[1]
Tag class for string values of SIP headers.
Definition sip_tag_class.c:92
tag_class_t siphdrtag_class[1]
Tag class for SIP headers.
Definition sip_tag_class.c:75
#define SOFIAPUBFUN
#define SOFIAPUBVAR
struct tag_class_s const tag_class_t

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