1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Wrapper Functions:
//
// Inline functions can't be processed in a sensible fashion by `bindgen`. Such
// functions that need to be accessed are wrapped here with the
// `_bindgen_wrapper` suffix. The `build.rs` strips these suffixes out when
// generating the binding and remaps the underlying symbol. As a result, these
// functions can be accessed on Rust side without the `_bindgen_wrapper` suffix.
//
// If the function they wrap is not inline and the wrapper has the same name
// this will lead to a failure in compilation as duplicate symbols will be
// present at link time. This is desirable as the wrappers may be added safely
// for the inline functions and if they change downstream to no longer be inline
// the wrapper function may simply be removed.
/// Increments the reference count of a `ddsi_serdata` object.
static struct ddsi_serdata*
/// Decrements the reference count of a `ddsi_serdata` object.
static void
/// The value that represents the default domain ID.
static const dds_domainid_t DOMAIN_DEFAULT = DDS_DOMAIN_DEFAULT;
/// The value that represents an infinite duration.
static const dds_duration_t DURATION_INFINITE = DDS_INFINITY;
/// The value that represents a time that is not reachable.
static const dds_time_t TIME_NEVER = DDS_NEVER;
/// Pseudo topic for the DcpsParticipant builtin topic.
static const dds_entity_t BUILTIN_TOPIC_DCPS_PARTICIPANT =
DDS_BUILTIN_TOPIC_DCPSPARTICIPANT;
/// Pseudo topic for the DcpsTopic builtin topic.
///
/// NOTE this only works when Cyclone is built with `ENABLE_TOPIC_DISCOVERY`
/// enabled.
static const dds_entity_t BUILTIN_TOPIC_DCPS_TOPIC =
DDS_BUILTIN_TOPIC_DCPSTOPIC;
/// Pseudo topic for the DcpsPublication builtin topic.
static const dds_entity_t BUILTIN_TOPIC_DCPS_PUBLICATION =
DDS_BUILTIN_TOPIC_DCPSPUBLICATION;
/// Pseudo topic for the DcpsSubscription builtin topic.
static const dds_entity_t BUILTIN_TOPIC_DCPS_SUBSCRIPTION =
DDS_BUILTIN_TOPIC_DCPSSUBSCRIPTION;
// WRAPPER_H_