42 #include <sofia-sip/url_tag.h>
55 #define NTHTAG_ANY() nthtag_any, ((tag_value_t)0)
62 #define NTHTAG_MCLASS(x) nthtag_mclass, tag_cptr_v((x))
65 #define NTHTAG_MCLASS_REF(x) nthtag_mclass_ref, tag_cptr_vr(&(x), (x))
69 #define NTHTAG_MFLAGS(x) nthtag_mflags, tag_int_v((x))
72 #define NTHTAG_MFLAGS_REF(x) nthtag_mflags_ref, tag_int_vr(&(x))
76 #define NTHTAG_STREAMING(x) nthtag_streaming, tag_bool_v((x))
79 #define NTHTAG_STREAMING_REF(x) nthtag_streaming_ref, tag_bool_vr(&(x))
85 #define NTHTAG_PROXY(x) nthtag_proxy, urltag_url_v((x))
88 #define NTHTAG_PROXY_REF(x) nthtag_proxy_ref, urltag_url_vr(&(x))
92 #define NTHTAG_EXPIRES(x) nthtag_expires, tag_uint_v((x))
95 #define NTHTAG_EXPIRES_REF(x) nthtag_expires_ref, tag_uint_vr(&(x))
99 #define NTHTAG_ERROR_MSG(x) nthtag_error_msg, tag_bool_v((x))
102 #define NTHTAG_ERROR_MSG_REF(x) nthtag_error_msg_ref, tag_bool_vr(&(x))
104 #if SU_INLINE_TAG_CAST
111 #define nthtag_template_v(v) ((tag_value_t)(v))
112 #define nthtag_template_vr(vp) ((tag_value_t)(vp))
117 #define NTHTAG_TEMPLATE(x) nthtag_template, nthtag_template_v((x))
120 #define NTHTAG_TEMPLATE_REF(x) nthtag_template_ref, nthtag_template_vr(&(x))
122 #if SU_INLINE_TAG_CAST
128 #define nthtag_message_v(v) ((tag_value_t)(v))
129 #define nthtag_message_vr(vp) ((tag_value_t)(vp))
134 #define NTHTAG_MESSAGE(x) nthtag_message, nthtag_message_v((x))
137 #define NTHTAG_MESSAGE_REF(x) nthtag_message_ref, nthtag_message_vr(&(x))
140 struct auth_client_s;
144 #define nthtag_authentication_v(v) ((tag_value_t)(v))
145 #define nthtag_authentication_vr(vp) ((tag_value_t)(vp))
150 #define NTHTAG_AUTHENTICATION(x) \
151 nthtag_authentication, nthtag_authentication_v((x))
154 #define NTHTAG_AUTHENTICATION_REF(x) \
155 nthtag_authentication_ref, nthtag_authentication_vr(&(x))
159 #define NTHTAG_MAX_RETRY_AFTER(x) nthtag_max_retry_after, tag_int_v((x))
162 #define NTHTAG_MAX_RETRY_AFTER_REF(x) \
163 nthtag_max_retry_after_ref, tag_int_vr(&(x))
169 #define NTHTAG_ROOT(x) nthtag_root, tag_ptr_v((x))
172 #define NTHTAG_ROOT_REF(x) nthtag_root_ref, tag_ptr_vr(&(x), (x))
176 #define NTHTAG_STRICT_HOST(x) nthtag_strict_host, tag_bool_v((x))
179 #define NTHTAG_STRICT_HOST_REF(x) nthtag_strict_host_ref, tag_bool_vr(&(x))
183 #define NTHTAG_AUTH_MODULE(x) nthtag_auth_module, tag_ptr_v((x))
186 #define NTHTAG_AUTH_MODULE_REF(x) nthtag_auth_module_ref, tag_ptr_vr(&(x), (x))
tagi_t nth_client_tags[]
List of all nth tags.
Definition: nth_client.c:213
struct tag_type_s const tag_typedef_t[1]