tests/tracing/support/test-platform.c: clear buffer at every packet opening
[deliverable/barectf.git] / barectf / __init__.py
CommitLineData
0f5c653b
PP
1# The MIT License (MIT)
2#
5262b543 3# Copyright (c) 2014-2020 Philippe Proulx <pproulx@efficios.com>
0f5c653b 4#
1378f213
PP
5# Permission is hereby granted, free of charge, to any person obtaining
6# a copy of this software and associated documentation files (the
7# "Software"), to deal in the Software without restriction, including
8# without limitation the rights to use, copy, modify, merge, publish,
9# distribute, sublicense, and/or sell copies of the Software, and to
10# permit persons to whom the Software is furnished to do so, subject to
11# the following conditions:
0f5c653b 12#
1378f213
PP
13# The above copyright notice and this permission notice shall be
14# included in all copies or substantial portions of the Software.
0f5c653b 15#
1378f213
PP
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0f5c653b 23
4810b707
PP
24import barectf.config_parse_common as barectf_config_parse_common
25import barectf.version as barectf_version
26import barectf.config as barectf_config
57071907 27import barectf.config_file as barectf_config_file
728fc4a7 28import barectf.codegen as barectf_codegen
2d55dc7d 29import barectf.typing as barectf_typing
e5aa0be3
PP
30
31
4810b707
PP
32# version API
33__major_version__ = barectf_version.__major_version__
34__minor_version__ = barectf_version.__minor_version__
35__patch_version__ = barectf_version.__patch_version__
36__version__ = barectf_version.__version__
37
38
2d55dc7d
PP
39# common typing API
40Index = barectf_typing.Index
41Count = barectf_typing.Count
42Id = barectf_typing.Id
43Alignment = barectf_typing.Alignment
44VersionNumber = barectf_typing.VersionNumber
45
46
4810b707
PP
47# configuration API
48_ArrayFieldType = barectf_config._ArrayFieldType
49_BitArrayFieldType = barectf_config._BitArrayFieldType
50_ConfigurationParseError = barectf_config_parse_common._ConfigurationParseError
51_EnumerationFieldType = barectf_config._EnumerationFieldType
52_FieldType = barectf_config._FieldType
53_IntegerFieldType = barectf_config._IntegerFieldType
54ByteOrder = barectf_config.ByteOrder
55ClockType = barectf_config.ClockType
56ClockTypeCTypes = barectf_config.ClockTypeCTypes
57ClockTypeOffset = barectf_config.ClockTypeOffset
58Configuration = barectf_config.Configuration
4810b707
PP
59ConfigurationCodeGenerationHeaderOptions = barectf_config.ConfigurationCodeGenerationHeaderOptions
60ConfigurationCodeGenerationOptions = barectf_config.ConfigurationCodeGenerationOptions
61ConfigurationOptions = barectf_config.ConfigurationOptions
62DEFAULT_FIELD_TYPE = barectf_config.DEFAULT_FIELD_TYPE
63DisplayBase = barectf_config.DisplayBase
be9f12dc 64DynamicArrayFieldType = barectf_config.DynamicArrayFieldType
4810b707
PP
65EnumerationFieldTypeMapping = barectf_config.EnumerationFieldTypeMapping
66EnumerationFieldTypeMappingRange = barectf_config.EnumerationFieldTypeMappingRange
67EnumerationFieldTypeMappings = barectf_config.EnumerationFieldTypeMappings
68EventType = barectf_config.EventType
2d55dc7d 69LogLevel = barectf_config.LogLevel
4810b707
PP
70RealFieldType = barectf_config.RealFieldType
71SignedEnumerationFieldType = barectf_config.SignedEnumerationFieldType
72SignedIntegerFieldType = barectf_config.SignedIntegerFieldType
73StaticArrayFieldType = barectf_config.StaticArrayFieldType
74StreamType = barectf_config.StreamType
75StreamTypeEventFeatures = barectf_config.StreamTypeEventFeatures
76StreamTypeFeatures = barectf_config.StreamTypeFeatures
77StreamTypePacketFeatures = barectf_config.StreamTypePacketFeatures
78StringFieldType = barectf_config.StringFieldType
79StructureFieldType = barectf_config.StructureFieldType
80StructureFieldTypeMember = barectf_config.StructureFieldTypeMember
81StructureFieldTypeMembers = barectf_config.StructureFieldTypeMembers
82Trace = barectf_config.Trace
83TraceEnvironment = barectf_config.TraceEnvironment
84TraceType = barectf_config.TraceType
85TraceTypeFeatures = barectf_config.TraceTypeFeatures
86UnsignedEnumerationFieldType = barectf_config.UnsignedEnumerationFieldType
87UnsignedIntegerFieldType = barectf_config.UnsignedIntegerFieldType
88
89
57071907
PP
90# configuration file API
91configuration_file_major_version = barectf_config_file.configuration_file_major_version
92configuration_from_file = barectf_config_file.configuration_from_file
93effective_configuration_file = barectf_config_file.effective_configuration_file
94
95
4810b707 96# code generation API
728fc4a7 97CodeGenerator = barectf_codegen.CodeGenerator
4810b707
PP
98
99
f7d0c1b5 100# remove local names
4810b707
PP
101del barectf_config_parse_common
102del barectf_version
103del barectf_config
f7d0c1b5 104del barectf_config_file
728fc4a7 105del barectf_codegen
2d55dc7d 106del barectf_typing
This page took 0.027516 seconds and 4 git commands to generate.