2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #undef ctf_integer_nowrite
8 #define ctf_integer_nowrite(_type, _item, _src) \
9 _ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 1)
11 #undef ctf_float_nowrite
12 #define ctf_float_nowrite(_type, _item, _src) \
13 _ctf_float(_type, _item, _src, 1)
15 #undef ctf_array_nowrite
16 #define ctf_array_nowrite(_type, _item, _src, _length) \
17 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, none, 1, 10)
19 #undef ctf_array_nowrite_hex
20 #define ctf_array_nowrite_hex(_type, _item, _src, _length) \
21 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, none, 1, 16)
23 #undef ctf_array_network_nowrite
24 #define ctf_array_network_nowrite(_type, _item, _src, _length) \
25 _ctf_array_encoded(_type, _item, _src, BIG_ENDIAN, \
28 #undef ctf_array_network_nowrite_hex
29 #define ctf_array_network_nowrite_hex(_type, _item, _src, _length) \
30 _ctf_array_encoded(_type, _item, _src, BIG_ENDIAN, \
33 #undef ctf_array_text_nowrite
34 #define ctf_array_text_nowrite(_type, _item, _src, _length) \
35 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, UTF8, 1, 10)
37 #undef ctf_sequence_nowrite
38 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) \
39 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
40 _length_type, _src_length, none, 1, 10)
42 #undef ctf_sequence_nowrite_hex
43 #define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
44 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
45 _length_type, _src_length, none, 1, 16)
47 #undef ctf_sequence_network_nowrite
48 #define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) \
49 _ctf_sequence_encoded(_type, _item, _src, BIG_ENDIAN, \
50 _length_type, _src_length, none, 1, 10)
52 #undef ctf_sequence_network_nowrite_hex
53 #define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
54 _ctf_sequence_encoded(_type, _item, _src, BIG_ENDIAN, \
55 _length_type, _src_length, none, 1, 16)
57 #undef ctf_sequence_text_nowrite
58 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) \
59 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
60 _length_type, _src_length, UTF8, 1, 10)
62 #undef ctf_string_nowrite
63 #define ctf_string_nowrite(_item, _src) \
64 _ctf_string(_item, _src, 1)
66 #undef ctf_enum_nowrite
67 #define ctf_enum_nowrite(_provider, _name, _type, _item, _src) \
68 _ctf_enum(_provider, _name, _type, _item, _src, 1)
This page took 0.029302 seconds and 4 git commands to generate.