sip
1.13.18
Toggle main menu visibility
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
39
40
#ifndef SU_TAG_CLASS_H
41
#include <
sofia-sip/su_tag_class.h
>
42
#endif
43
44
#ifndef MSG_TAG_CLASS_H
45
#include <
sofia-sip/msg_tag_class.h
>
46
#endif
47
48
SOFIA_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
69
SOFIAPUBVAR
tag_class_t
siphdrtag_class
[1];
71
SOFIAPUBVAR
tag_class_t
sipstrtag_class
[1];
73
SOFIAPUBVAR
tag_class_t
sipmsgtag_class
[1];
74
76
#define SIPEXTHDRTAG_TYPEDEF(n, t) \
77
{{ TAG_NAMESPACE, #n, sipexthdrtag_class, \
78
(tag_value_t)sip_##t##_class }}
79
81
SOFIAPUBVAR
tag_class_t
sipexthdrtag_class
[1];
82
83
85
SOFIAPUBFUN
tagi_t
*
siptag_filter
(
tagi_t
*dst,
tagi_t
const
f[],
86
tagi_t
const
*src,
87
void
**bb);
88
89
SOFIA_END_DECLS
90
91
#endif
sipexthdrtag_class
tag_class_t sipexthdrtag_class[1]
Tag class using SIP header structure.
Definition
sip_tag_class.c:57
msg_tag_class.h
sipmsgtag_class
tag_class_t sipmsgtag_class[1]
Tag class for SIP message.
Definition
sip_tag_class.c:109
sipstrtag_class
tag_class_t sipstrtag_class[1]
Tag class for string values of SIP headers.
Definition
sip_tag_class.c:92
siphdrtag_class
tag_class_t siphdrtag_class[1]
Tag class for SIP headers.
Definition
sip_tag_class.c:75
siptag_filter
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
tagi_t
SOFIAPUBFUN
#define SOFIAPUBFUN
SOFIAPUBVAR
#define SOFIAPUBVAR
tag_class_t
struct tag_class_s const tag_class_t
su_tag_class.h
Sofia-SIP 1.13.18 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.