Skip to content

Commit 89e8f90

Browse files
dpotmaneboasson
authored andcommitted
Prefix types and functions for ddsi entities
As a result of splitting q_entity into multiple files, more entity related functions are non-static and thus exported from the shared library. To reduce the risk of name clashes, all exported symbols related to DDSI entities are prefixed with ddsi_. Signed-off-by: Dennis Potman <[email protected]>
1 parent feafca4 commit 89e8f90

File tree

96 files changed

+2463
-2453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2463
-2453
lines changed

docs/dev/dds_security_effort.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Mainly because in OpenSplice it's quite hard to get a failure state from DDSI
275275
to the application.
276276
277277
In Cyclone, however, ddsc::dds_create_participant() results in a direct call to
278-
ddsi::new_participant(). This means that if creation of an entity (or
278+
ddsi::ddsi_new_participant(). This means that if creation of an entity (or
279279
participant in this example) fails due to security issues in ddsi, we can fail
280280
the actual ddsc API call with a proper error result (there's already the
281281
DDS_RETCODE_NOT_ALLOWED_BY_SECURITY in the ddsc API (not used)).

docs/dev/type_discovery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ Note: In the current type discovery implementation a type lookup request is sent
2424

2525
The type discovery implementation introduces a number of additional checks in QoS matching in DDSI (function `qos_match_mask_p`). After the check for matching _topic name_ and _type name_ for reader and writer, the matching function checks if the type information is resolved for the type identifiers of both endpoints. In case any of the types (typically from the proxy endpoint) is not resolved, matching is delayed and a type lookup request for that type identifier is sent.
2626

27-
An incoming type lookup reply triggers the (domain scoped) `tl_resolved_cond` condition variable (so that the type lookup API function can check if the requested type is resolved) and triggers the endpoint matching for all proxy endpoints that are using one of the resolved types. This list of proxy endpoints is retrieved from the type lookup meta-data administration. For each of these proxy endpoints the function `update_proxy_endpoint_matching` is called, which tries to connect the proxy endpoint to local endpoints.
27+
An incoming type lookup reply triggers the (domain scoped) `tl_resolved_cond` condition variable (so that the type lookup API function can check if the requested type is resolved) and triggers the endpoint matching for all proxy endpoints that are using one of the resolved types. This list of proxy endpoints is retrieved from the type lookup meta-data administration. For each of these proxy endpoints the function `ddsi_update_proxy_endpoint_matching` is called, which tries to connect the proxy endpoint to local endpoints.

docs/dev/volatile_msg_secure.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ It is also used to determine the gap information that is added to samples to a s
9292
### Heartbeats
9393
9494
A writer is triggered to send heartbeats once in a while. Normally, that is broadcasted. But, for the volatile secure writer, it has to be send to each reader specifically. The heartbeat submessage that is send to each reader individually is encoded with a reader specific key. This key is generated from the shared secret which was determined during the authentication phase.
95-
95+
9696
When a writer should send heartbeats, ```handle_xevk_heartbeat()``` is called. For the volatile secure writer, the control is immediately submitted to ```send_heartbeat_to_all_readers()```. This will add heartbeat submessages to an rtps message for every reader it deems necessary.
9797
9898
@@ -111,15 +111,15 @@ Notes</br>
111111
112112
The following elements are added to the data structures:
113113
114-
* struct wr_prd_match::lst_seq : Highest seq send to this reader used when filter is applied
115-
* struct pwr_rd_match::last_seq : Reader specific last received sequence number from the writer.
116-
* struct proxy_writer::uses_filter : Indicates that a content-filter is active
117-
* struct proxy_reader::filter : The filter to apply for this specific reader
114+
* struct ddsi_wr_prd_match::lst_seq : Highest seq send to this reader used when filter is applied
115+
* struct ddsi_pwr_rd_match::last_seq : Reader specific last received sequence number from the writer.
116+
* struct ddsi_proxy_writer::uses_filter : Indicates that a content-filter is active
117+
* struct ddsi_proxy_reader::filter : The filter to apply for this specific reader
118118
119119
Functions added:
120120
121-
* writer_hbcontrol_p2p : This function creates a heartbeat destined for a specific reader. The volatile secure writer will use an submessage encoding which uses a distinct key for each reader. Therefor a reader specific heartbeat is needed.
122-
* nn_defrag_prune : When a volatile secure reader is deleted then the defragmentation administration could still contain messages destined for this reader. This function removes these messages from the defragmentation administration.
121+
* writer_hbcontrol_p2p : This function creates a heartbeat destined for a specific reader. The volatile secure writer will use an submessage encoding which uses a distinct key for each reader. Therefor a reader specific heartbeat is needed.
122+
* nn_defrag_prune : When a volatile secure reader is deleted then the defragmentation administration could still contain messages destined for this reader. This function removes these messages from the defragmentation administration.
123123
* volatile_secure_data_filter : The filter applied to the secure volatile messages which filters on the destination participant guid.
124124
* write_sample_p2p_wrlock_held : This function writes a message to a particular reader.
125125

src/core/ddsc/src/dds__builtin.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ bool dds__validate_builtin_reader_qos (const dds_domain *dom, dds_entity_t topic
4141
void dds__builtin_init (struct dds_domain *dom);
4242
void dds__builtin_fini (struct dds_domain *dom);
4343

44-
struct entity_common;
45-
struct proxy_topic;
46-
struct ddsi_serdata *dds__builtin_make_sample_endpoint (const struct entity_common *e, ddsrt_wctime_t timestamp, bool alive);
47-
struct ddsi_serdata *dds__builtin_make_sample_topic (const struct entity_common *e, ddsrt_wctime_t timestamp, bool alive);
48-
struct ddsi_serdata *dds__builtin_make_sample_proxy_topic (const struct proxy_topic *proxytp, ddsrt_wctime_t timestamp, bool alive);
44+
struct ddsi_entity_common;
45+
struct ddsi_proxy_topic;
46+
struct ddsi_serdata *dds__builtin_make_sample_endpoint (const struct ddsi_entity_common *e, ddsrt_wctime_t timestamp, bool alive);
47+
struct ddsi_serdata *dds__builtin_make_sample_topic (const struct ddsi_entity_common *e, ddsrt_wctime_t timestamp, bool alive);
48+
struct ddsi_serdata *dds__builtin_make_sample_proxy_topic (const struct ddsi_proxy_topic *proxytp, ddsrt_wctime_t timestamp, bool alive);
4949

5050
#if defined (__cplusplus)
5151
}

src/core/ddsc/src/dds__entity.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ union dds_status_union {
148148

149149
#define STATUS_CB_IMPL(entity_kind_, name_, NAME_, ...) \
150150
STATUS_CB_IMPL_INVOKE(entity_kind_, name_, NAME_, __VA_ARGS__) \
151-
static void status_cb_##name_ (dds_##entity_kind_ * const e, const status_cb_data_t *data) \
151+
static void status_cb_##name_ (dds_##entity_kind_ * const e, const ddsi_status_cb_data_t *data) \
152152
{ \
153153
struct dds_listener const * const listener = &e->m_entity.m_listener; \
154154
update_##name_ (&e->m_##name_##_status, data); \

src/core/ddsc/src/dds__reader.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
extern "C" {
2020
#endif
2121

22-
struct status_cb_data;
22+
struct ddsi_status_cb_data;
2323

24-
void dds_reader_status_cb (void *entity, const struct status_cb_data * data);
24+
void dds_reader_status_cb (void *entity, const struct ddsi_status_cb_data * data);
2525

2626
dds_return_t dds_return_reader_loan (dds_reader *rd, void **buf, int32_t bufsz);
2727

src/core/ddsc/src/dds__serdata_builtintopic.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
extern "C" {
2222
#endif
2323

24-
struct entity_common;
24+
struct ddsi_entity_common;
2525
struct ddsi_topic_definition;
2626

2727
enum ddsi_sertype_builtintopic_entity_kind {
@@ -62,7 +62,7 @@ extern const struct ddsi_sertype_ops ddsi_sertype_ops_builtintopic;
6262
extern const struct ddsi_serdata_ops ddsi_serdata_ops_builtintopic;
6363

6464
struct ddsi_sertype *new_sertype_builtintopic (enum ddsi_sertype_builtintopic_entity_kind entity_kind, const char *typename);
65-
struct ddsi_serdata *dds_serdata_builtin_from_endpoint (const struct ddsi_sertype *tpcmn, const ddsi_guid_t *guid, struct entity_common *entity, enum ddsi_serdata_kind kind);
65+
struct ddsi_serdata *dds_serdata_builtin_from_endpoint (const struct ddsi_sertype *tpcmn, const ddsi_guid_t *guid, struct ddsi_entity_common *entity, enum ddsi_serdata_kind kind);
6666

6767
#ifdef DDS_HAS_TOPIC_DISCOVERY
6868
extern const struct ddsi_serdata_ops ddsi_serdata_ops_builtintopic_topic;

src/core/ddsc/src/dds__types.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ typedef struct dds_domain {
249249
struct ddsi_sertype *builtin_reader_type;
250250
struct ddsi_sertype *builtin_writer_type;
251251

252-
struct local_orphan_writer *builtintopic_writer_participant;
253-
struct local_orphan_writer *builtintopic_writer_publications;
254-
struct local_orphan_writer *builtintopic_writer_subscriptions;
252+
struct ddsi_local_orphan_writer *builtintopic_writer_participant;
253+
struct ddsi_local_orphan_writer *builtintopic_writer_publications;
254+
struct ddsi_local_orphan_writer *builtintopic_writer_subscriptions;
255255
#ifdef DDS_HAS_TOPIC_DISCOVERY
256-
struct local_orphan_writer *builtintopic_writer_topics;
256+
struct ddsi_local_orphan_writer *builtintopic_writer_topics;
257257
#endif
258258

259259
struct ddsi_builtin_topic_interface btif;
@@ -295,7 +295,7 @@ struct ktopic_type_guid {
295295
ddsi_typeid_t *type_id;
296296
uint32_t refc;
297297
ddsi_guid_t guid;
298-
struct topic *tp;
298+
struct ddsi_topic *tp;
299299
};
300300
#endif
301301

@@ -327,7 +327,7 @@ typedef struct dds_reader {
327327
struct dds_entity m_entity;
328328
struct dds_topic *m_topic; /* refc'd, constant, lock(rd) -> lock(tp) allowed */
329329
struct dds_rhc *m_rhc; /* aliases m_rd->rhc with a wider interface, FIXME: but m_rd owns it for resource management */
330-
struct reader *m_rd;
330+
struct ddsi_reader *m_rd;
331331
bool m_loan_out;
332332
void *m_loan;
333333
uint32_t m_loan_size;
@@ -351,7 +351,7 @@ typedef struct dds_writer {
351351
struct dds_entity m_entity;
352352
struct dds_topic *m_topic; /* refc'd, constant, lock(wr) -> lock(tp) allowed */
353353
struct nn_xpack *m_xp;
354-
struct writer *m_wr;
354+
struct ddsi_writer *m_wr;
355355
struct whc *m_whc; /* FIXME: ownership still with underlying DDSI writer (cos of DDSI built-in writers )*/
356356
bool whc_batch; /* FIXME: channels + latency budget */
357357
#ifdef DDS_HAS_SHM

src/core/ddsc/src/dds__write.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ typedef enum {
3131

3232
dds_return_t dds_write_impl (dds_writer *wr, const void *data, dds_time_t tstamp, dds_write_action action);
3333
dds_return_t dds_writecdr_impl (dds_writer *wr, struct nn_xpack *xp, struct ddsi_serdata *d, bool flush);
34-
dds_return_t dds_writecdr_local_orphan_impl (struct local_orphan_writer *lowr, struct ddsi_serdata *d);
34+
dds_return_t dds_writecdr_local_orphan_impl (struct ddsi_local_orphan_writer *lowr, struct ddsi_serdata *d);
3535

3636
#if defined (__cplusplus)
3737
}

src/core/ddsc/src/dds__writer.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ extern "C" {
2020

2121
DEFINE_ENTITY_LOCK_UNLOCK(dds_writer, DDS_KIND_WRITER)
2222

23-
struct status_cb_data;
23+
struct ddsi_status_cb_data;
2424

25-
void dds_writer_status_cb (void *entity, const struct status_cb_data * data);
25+
void dds_writer_status_cb (void *entity, const struct ddsi_status_cb_data * data);
2626

2727
DDS_EXPORT dds_return_t dds_return_writer_loan(dds_writer *writer, void **buf,
2828
int32_t bufsz) ddsrt_nonnull_all;
2929

30-
DDS_EXPORT dds_return_t dds__writer_wait_for_acks (struct dds_writer *wr, ddsi_guid_t *rdguid, dds_time_t abstimeout);
30+
DDS_EXPORT dds_return_t dds__ddsi_writer_wait_for_acks (struct dds_writer *wr, ddsi_guid_t *rdguid, dds_time_t abstimeout);
3131

3232
#if defined (__cplusplus)
3333
}

src/core/ddsc/src/dds_builtin.c

+31-31
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool dds__validate_builtin_reader_qos (const dds_domain *dom, dds_entity_t topic
171171
/* failing writes on built-in topics are unwelcome complications, so we simply
172172
forbid the creation of a reader matching a built-in topics writer that has
173173
resource limits */
174-
struct local_orphan_writer *bwr;
174+
struct ddsi_local_orphan_writer *bwr;
175175
switch (topic)
176176
{
177177
case DDS_BUILTIN_TOPIC_DCPSPARTICIPANT:
@@ -245,7 +245,7 @@ static bool dds__builtin_is_builtintopic (const struct ddsi_sertype *tp, void *v
245245
static bool dds__builtin_is_visible (const ddsi_guid_t *guid, nn_vendorid_t vendorid, void *vdomain)
246246
{
247247
(void) vdomain;
248-
if (is_builtin_endpoint (guid->entityid, vendorid) || is_builtin_topic (guid->entityid, vendorid))
248+
if (ddsi_is_builtin_endpoint (guid->entityid, vendorid) || ddsi_is_builtin_topic (guid->entityid, vendorid))
249249
return false;
250250
return true;
251251
}
@@ -263,31 +263,31 @@ static struct ddsi_tkmap_instance *dds__builtin_get_tkmap_entry (const struct dd
263263
return tk;
264264
}
265265

266-
struct ddsi_serdata *dds__builtin_make_sample_endpoint (const struct entity_common *e, ddsrt_wctime_t timestamp, bool alive)
266+
struct ddsi_serdata *dds__builtin_make_sample_endpoint (const struct ddsi_entity_common *e, ddsrt_wctime_t timestamp, bool alive)
267267
{
268268
/* initialize to avoid gcc warning ultimately caused by C's horrible type system */
269269
struct dds_domain *dom = e->gv->builtin_topic_interface->arg;
270270
struct ddsi_sertype *type = NULL;
271271
switch (e->kind)
272272
{
273-
case EK_PARTICIPANT:
274-
case EK_PROXY_PARTICIPANT:
273+
case DDSI_EK_PARTICIPANT:
274+
case DDSI_EK_PROXY_PARTICIPANT:
275275
type = dom->builtin_participant_type;
276276
break;
277-
case EK_WRITER:
278-
case EK_PROXY_WRITER:
277+
case DDSI_EK_WRITER:
278+
case DDSI_EK_PROXY_WRITER:
279279
type = dom->builtin_writer_type;
280280
break;
281-
case EK_READER:
282-
case EK_PROXY_READER:
281+
case DDSI_EK_READER:
282+
case DDSI_EK_PROXY_READER:
283283
type = dom->builtin_reader_type;
284284
break;
285285
default:
286286
abort ();
287287
break;
288288
}
289289
assert (type != NULL);
290-
struct ddsi_serdata *serdata = dds_serdata_builtin_from_endpoint (type, &e->guid, (struct entity_common *) e, alive ? SDK_DATA : SDK_KEY);
290+
struct ddsi_serdata *serdata = dds_serdata_builtin_from_endpoint (type, &e->guid, (struct ddsi_entity_common *) e, alive ? SDK_DATA : SDK_KEY);
291291
serdata->timestamp = timestamp;
292292
serdata->statusinfo = alive ? 0 : NN_STATUSINFO_DISPOSE | NN_STATUSINFO_UNREGISTER;
293293
return serdata;
@@ -305,43 +305,43 @@ static struct ddsi_serdata *dds__builtin_make_sample_topic_impl (const struct dd
305305
return serdata;
306306
}
307307

308-
struct ddsi_serdata *dds__builtin_make_sample_topic (const struct entity_common *e, ddsrt_wctime_t timestamp, bool alive)
308+
struct ddsi_serdata *dds__builtin_make_sample_topic (const struct ddsi_entity_common *e, ddsrt_wctime_t timestamp, bool alive)
309309
{
310-
struct topic *tp = (struct topic *) e;
310+
struct ddsi_topic *tp = (struct ddsi_topic *) e;
311311
ddsrt_mutex_lock (&tp->e.qos_lock);
312312
struct ddsi_serdata *sd = dds__builtin_make_sample_topic_impl (tp->definition, timestamp, alive);
313313
ddsrt_mutex_unlock (&tp->e.qos_lock);
314314
return sd;
315315
}
316316

317-
struct ddsi_serdata *dds__builtin_make_sample_proxy_topic (const struct proxy_topic *proxytp, ddsrt_wctime_t timestamp, bool alive)
317+
struct ddsi_serdata *dds__builtin_make_sample_proxy_topic (const struct ddsi_proxy_topic *proxytp, ddsrt_wctime_t timestamp, bool alive)
318318
{
319319
return dds__builtin_make_sample_topic_impl (proxytp->definition, timestamp, alive);
320320
}
321321

322322
#endif /* DDS_HAS_TOPIC_DISCOVERY */
323323

324-
static void dds__builtin_write_endpoint (const struct entity_common *e, ddsrt_wctime_t timestamp, bool alive, void *vdomain)
324+
static void dds__builtin_write_endpoint (const struct ddsi_entity_common *e, ddsrt_wctime_t timestamp, bool alive, void *vdomain)
325325
{
326326
struct dds_domain *dom = vdomain;
327-
if (dds__builtin_is_visible (&e->guid, get_entity_vendorid (e), dom))
327+
if (dds__builtin_is_visible (&e->guid, ddsi_get_entity_vendorid (e), dom))
328328
{
329329
/* initialize to avoid gcc warning ultimately caused by C's horrible type system */
330-
struct local_orphan_writer *bwr = NULL;
330+
struct ddsi_local_orphan_writer *bwr = NULL;
331331
struct ddsi_serdata *serdata = dds__builtin_make_sample_endpoint (e, timestamp, alive);
332332
assert (e->tk != NULL);
333333
switch (e->kind)
334334
{
335-
case EK_PARTICIPANT:
336-
case EK_PROXY_PARTICIPANT:
335+
case DDSI_EK_PARTICIPANT:
336+
case DDSI_EK_PROXY_PARTICIPANT:
337337
bwr = dom->builtintopic_writer_participant;
338338
break;
339-
case EK_WRITER:
340-
case EK_PROXY_WRITER:
339+
case DDSI_EK_WRITER:
340+
case DDSI_EK_PROXY_WRITER:
341341
bwr = dom->builtintopic_writer_publications;
342342
break;
343-
case EK_READER:
344-
case EK_PROXY_READER:
343+
case DDSI_EK_READER:
344+
case DDSI_EK_PROXY_READER:
345345
bwr = dom->builtintopic_writer_subscriptions;
346346
break;
347347
default:
@@ -356,7 +356,7 @@ static void dds__builtin_write_endpoint (const struct entity_common *e, ddsrt_wc
356356
static void dds__builtin_write_topic (const struct ddsi_topic_definition *tpd, ddsrt_wctime_t timestamp, bool alive, void *vdomain)
357357
{
358358
struct dds_domain *dom = vdomain;
359-
struct local_orphan_writer *bwr = dom->builtintopic_writer_topics;
359+
struct ddsi_local_orphan_writer *bwr = dom->builtintopic_writer_topics;
360360
struct ddsi_serdata *serdata = dds__builtin_make_sample_topic_impl (tpd, timestamp, alive);
361361
dds_writecdr_local_orphan_impl (bwr, serdata);
362362
}
@@ -409,12 +409,12 @@ void dds__builtin_init (struct dds_domain *dom)
409409

410410
thread_state_awake (lookup_thread_state (), &dom->gv);
411411
const struct entity_index *gh = dom->gv.entity_index;
412-
dom->builtintopic_writer_participant = new_local_orphan_writer (&dom->gv, to_entityid (NN_ENTITYID_SPDP_BUILTIN_PARTICIPANT_WRITER), DDS_BUILTIN_TOPIC_PARTICIPANT_NAME, dom->builtin_participant_type, qos, builtintopic_whc_new (DSBT_PARTICIPANT, gh));
412+
dom->builtintopic_writer_participant = ddsi_new_local_orphan_writer (&dom->gv, ddsi_to_entityid (NN_ENTITYID_SPDP_BUILTIN_PARTICIPANT_WRITER), DDS_BUILTIN_TOPIC_PARTICIPANT_NAME, dom->builtin_participant_type, qos, builtintopic_whc_new (DSBT_PARTICIPANT, gh));
413413
#ifdef DDS_HAS_TOPIC_DISCOVERY
414-
dom->builtintopic_writer_topics = new_local_orphan_writer (&dom->gv, to_entityid (NN_ENTITYID_SEDP_BUILTIN_TOPIC_WRITER), DDS_BUILTIN_TOPIC_TOPIC_NAME, dom->builtin_topic_type, qos, builtintopic_whc_new (DSBT_TOPIC, gh));
414+
dom->builtintopic_writer_topics = ddsi_new_local_orphan_writer (&dom->gv, ddsi_to_entityid (NN_ENTITYID_SEDP_BUILTIN_TOPIC_WRITER), DDS_BUILTIN_TOPIC_TOPIC_NAME, dom->builtin_topic_type, qos, builtintopic_whc_new (DSBT_TOPIC, gh));
415415
#endif
416-
dom->builtintopic_writer_publications = new_local_orphan_writer (&dom->gv, to_entityid (NN_ENTITYID_SEDP_BUILTIN_PUBLICATIONS_WRITER), DDS_BUILTIN_TOPIC_PUBLICATION_NAME, dom->builtin_writer_type, qos, builtintopic_whc_new (DSBT_WRITER, gh));
417-
dom->builtintopic_writer_subscriptions = new_local_orphan_writer (&dom->gv, to_entityid (NN_ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_WRITER), DDS_BUILTIN_TOPIC_SUBSCRIPTION_NAME, dom->builtin_reader_type, qos, builtintopic_whc_new (DSBT_READER, gh));
416+
dom->builtintopic_writer_publications = ddsi_new_local_orphan_writer (&dom->gv, ddsi_to_entityid (NN_ENTITYID_SEDP_BUILTIN_PUBLICATIONS_WRITER), DDS_BUILTIN_TOPIC_PUBLICATION_NAME, dom->builtin_writer_type, qos, builtintopic_whc_new (DSBT_WRITER, gh));
417+
dom->builtintopic_writer_subscriptions = ddsi_new_local_orphan_writer (&dom->gv, ddsi_to_entityid (NN_ENTITYID_SEDP_BUILTIN_SUBSCRIPTIONS_WRITER), DDS_BUILTIN_TOPIC_SUBSCRIPTION_NAME, dom->builtin_reader_type, qos, builtintopic_whc_new (DSBT_READER, gh));
418418
thread_state_asleep (lookup_thread_state ());
419419

420420
dds_delete_qos (qos);
@@ -429,12 +429,12 @@ void dds__builtin_fini (struct dds_domain *dom)
429429
{
430430
/* No more sources for builtin topic samples */
431431
thread_state_awake (lookup_thread_state (), &dom->gv);
432-
delete_local_orphan_writer (dom->builtintopic_writer_participant);
432+
ddsi_delete_local_orphan_writer (dom->builtintopic_writer_participant);
433433
#ifdef DDS_HAS_TOPIC_DISCOVERY
434-
delete_local_orphan_writer (dom->builtintopic_writer_topics);
434+
ddsi_delete_local_orphan_writer (dom->builtintopic_writer_topics);
435435
#endif
436-
delete_local_orphan_writer (dom->builtintopic_writer_publications);
437-
delete_local_orphan_writer (dom->builtintopic_writer_subscriptions);
436+
ddsi_delete_local_orphan_writer (dom->builtintopic_writer_publications);
437+
ddsi_delete_local_orphan_writer (dom->builtintopic_writer_subscriptions);
438438
thread_state_asleep (lookup_thread_state ());
439439
unref_builtin_types (dom);
440440
}

0 commit comments

Comments
 (0)