nea 1.12.11devel
Loading...
Searching...
No Matches
nea_tag.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 NEA_TAG_H
27#define NEA_TAG_H
28
38#ifndef SU_TAG_H
39#include <sofia-sip/su_tag.h>
40#endif
41#ifndef URL_TAG_H
42#include <sofia-sip/url_tag.h>
43#endif
44#ifndef SIP_TAG_H
45#include <sofia-sip/sip_tag.h>
46#endif
47#ifndef NTA_TAG_H
48#include <sofia-sip/nta_tag.h>
49#endif
50
51SOFIA_BEGIN_DECLS
52
54typedef enum {
55 nea_extended = -1,
56 nea_embryonic = 0,
58 nea_active,
59 nea_terminated
61
63#define NEATAG_ANY() neatag_any, ((tag_value_t)0)
64SOFIAPUBVAR tag_typedef_t neatag_any;
65
67#define NEATAG_MIN_EXPIRES(x) neatag_min_expires, tag_uint_v((x))
68SOFIAPUBVAR tag_typedef_t neatag_min_expires;
69
70#define NEATAG_MIN_EXPIRES_REF(x) neatag_min_expires_ref, tag_uint_vr((&x))
71SOFIAPUBVAR tag_typedef_t neatag_min_expires_ref;
72
73#define NEATAG_MINSUB(x) neatag_min_expires, tag_uint_v((x))
74#define NEATAG_MINSUB_REF(x) neatag_min_expires_ref, tag_uint_vr((&x))
75
77#define NEATAG_EXPIRES(x) neatag_expires, tag_uint_v((x))
78SOFIAPUBVAR tag_typedef_t neatag_expires;
79
80#define NEATAG_EXPIRES_REF(x) neatag_expires_ref, tag_uint_vr((&x))
81SOFIAPUBVAR tag_typedef_t neatag_expires_ref;
82
84#define NEATAG_MAX_EXPIRES(x) neatag_max_expires, tag_uint_v((x))
85SOFIAPUBVAR tag_typedef_t neatag_max_expires;
86
87#define NEATAG_MAX_EXPIRES_REF(x) neatag_max_expires_ref, tag_uint_vr((&x))
88SOFIAPUBVAR tag_typedef_t neatag_max_expires_ref;
89
91#define NEATAG_EVENTLIST(x) neatag_eventlist, tag_bool_v((x))
92SOFIAPUBVAR tag_typedef_t neatag_eventlist;
93
94#define NEATAG_EVENTLIST_REF(x) neatag_eventlist_ref, tag_bool_vr((&x))
95SOFIAPUBVAR tag_typedef_t neatag_eventlist_ref;
96
98#define NEATAG_THROTTLE(x) neatag_throttle, tag_uint_v((x))
99SOFIAPUBVAR tag_typedef_t neatag_throttle;
100
101#define NEATAG_THROTTLE_REF(x) neatag_throttle_ref, tag_uint_vr((&x))
102SOFIAPUBVAR tag_typedef_t neatag_throttle_ref;
103
105#define NEATAG_MINTHROTTLE(x) neatag_minthrottle, tag_uint_v((x))
106SOFIAPUBVAR tag_typedef_t neatag_minthrottle;
107
108#define NEATAG_MINTHROTTLE_REF(x) neatag_minthrottle_ref, tag_uint_vr((&x))
109SOFIAPUBVAR tag_typedef_t neatag_minthrottle_ref;
110
112#define NEATAG_DIALOG(x) neatag_dialog, tag_ptr_v((x))
113SOFIAPUBVAR tag_typedef_t neatag_dialog;
114
115#define NEATAG_DIALOG_REF(x) neatag_dialog_ref, tag_ptr_vr((&x), (x))
116SOFIAPUBVAR tag_typedef_t neatag_dialog_ref;
117
118/* Server-specific tags */
119
121#define NEATAG_SUB(x) neatag_sub, tag_ptr_v((x))
122SOFIAPUBVAR tag_typedef_t neatag_sub;
123
124#define NEATAG_SUB_REF(x) neatag_sub_ref, tag_ptr_vr((&x), (x))
125SOFIAPUBVAR tag_typedef_t neatag_sub_ref;
126
128#define NEATAG_FAKE(x) neatag_fake, tag_bool_v((x))
129SOFIAPUBVAR tag_typedef_t neatag_fake;
130
131#define NEATAG_FAKE_REF(x) neatag_fake_ref, tag_bool_vr((&x))
132SOFIAPUBVAR tag_typedef_t neatag_fake_ref;
133
135#define NEATAG_REASON(x) neatag_reason, tag_str_v((x))
136SOFIAPUBVAR tag_typedef_t neatag_reason;
137
138#define NEATAG_REASON_REF(x) neatag_reason_ref, tag_str_vr((&x))
139SOFIAPUBVAR tag_typedef_t neatag_reason_ref;
140
142#define NEATAG_RETRY_AFTER(x) neatag_retry_after, tag_uint_v((x))
143SOFIAPUBVAR tag_typedef_t neatag_retry_after;
144
145#define NEATAG_RETRY_AFTER_REF(x) neatag_retry_after_ref, tag_uint_vr((&x))
146SOFIAPUBVAR tag_typedef_t neatag_retry_after_ref;
147
149#define NEATAG_EXSTATE(x) neatag_exstate, tag_str_v((x))
150SOFIAPUBVAR tag_typedef_t neatag_exstate;
151
152#define NEATAG_EXSTATE_REF(x) neatag_exstate_ref, tag_str_vr((&x))
153SOFIAPUBVAR tag_typedef_t neatag_exstate_ref;
154
156#define NEATAG_STRICT_3265(x) neatag_strict_3265, tag_bool_v((x))
157SOFIAPUBVAR tag_typedef_t neatag_strict_3265;
158
159#define NEATAG_STRICT_3265_REF(x) neatag_strict_3265_ref, tag_bool_vr((&x))
160SOFIAPUBVAR tag_typedef_t neatag_strict_3265_ref;
161
163#define NEATAG_VERSION(x) neatag_version, tag_uint_v((x))
164SOFIAPUBVAR tag_typedef_t neatag_version;
165
166#define NEATAG_VERSION_REF(x) neatag_version_ref, tag_uint_vr((&x))
167SOFIAPUBVAR tag_typedef_t neatag_version_ref;
168
170/* extern tag_type_t nea_tag_list[]; */
171
172SOFIA_END_DECLS
173
174#endif
nea_state_t
Event states.
Definition nea_tag.h:54
@ nea_pending
Before first notify.
Definition nea_tag.h:57
#define SOFIAPUBVAR
struct tag_type_s const tag_typedef_t[1]

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