Go to the documentation of this file.
25 #ifndef SU_TAG_CLASS_H
27 #define SU_TAG_CLASS_H
48 #define TAG_NAMESPACE ""
51 #define TAG_TYPEDEF(t, type) \
52 {{ TAG_NAMESPACE, #t, type ## _tag_class, 0 }}
54 #define INTTAG_TYPEDEF(t) TAG_TYPEDEF(t, int)
55 #define UINTTAG_TYPEDEF(t) TAG_TYPEDEF(t, uint)
56 #define USIZETAG_TYPEDEF(t) TAG_TYPEDEF(t, usize)
57 #define SIZETAG_TYPEDEF(t) TAG_TYPEDEF(t, size)
58 #define BOOLTAG_TYPEDEF(t) TAG_TYPEDEF(t, bool)
59 #define PTRTAG_TYPEDEF(t) TAG_TYPEDEF(t, ptr)
60 #define SOCKETTAG_TYPEDEF(t) TAG_TYPEDEF(t, socket)
61 #define CSTRTAG_TYPEDEF(t) TAG_TYPEDEF(t, cstr)
62 #define STRTAG_TYPEDEF(t) TAG_TYPEDEF(t, str)
63 #define NSTAG_TYPEDEF(t) TAG_TYPEDEF(t, ns)
68 size_t (*tc_len)(
tagi_t const *t);
70 size_t (*tc_xtra)(
tagi_t const *t,
size_t offset);
74 int (*tc_snprintf)(
tagi_t const *t,
char b[],
size_t size);
95 #define REFTAG_TYPEDEF(tag) \
96 {{ TAG_NAMESPACE, #tag "_ref", ref_tag_class, (tag_value_t)tag }}
103 tagi_t const *src,
void **bb);
Sofia-SIP 1.12.11devel -
Copyright (C) 2006 Nokia Corporation. All rights reserved.
Licensed under the terms of the GNU Lesser General Public License.