Merge remote-tracking branch 'upstream/master' into security
This commit is contained in:
commit
2da100a3c7
35 changed files with 671 additions and 157 deletions
|
@ -187,17 +187,21 @@ typedef struct dds_builtintopic_guid
|
|||
}
|
||||
dds_builtintopic_guid_t;
|
||||
|
||||
/* "dds_builtintopic_guid_t" is a bit of a weird name for what everyone just calls a GUID,
|
||||
so let us try and switch to using the more logical one */
|
||||
typedef struct dds_builtintopic_guid dds_guid_t;
|
||||
|
||||
typedef struct dds_builtintopic_participant
|
||||
{
|
||||
dds_builtintopic_guid_t key;
|
||||
dds_guid_t key;
|
||||
dds_qos_t *qos;
|
||||
}
|
||||
dds_builtintopic_participant_t;
|
||||
|
||||
typedef struct dds_builtintopic_endpoint
|
||||
{
|
||||
dds_builtintopic_guid_t key;
|
||||
dds_builtintopic_guid_t participant_key;
|
||||
dds_guid_t key;
|
||||
dds_guid_t participant_key;
|
||||
dds_instance_handle_t participant_instance_handle;
|
||||
char *topic_name;
|
||||
char *type_name;
|
||||
|
@ -415,6 +419,26 @@ dds_get_mask(dds_entity_t condition, uint32_t *mask);
|
|||
DDS_EXPORT dds_return_t
|
||||
dds_get_instance_handle(dds_entity_t entity, dds_instance_handle_t *ihdl);
|
||||
|
||||
/**
|
||||
* @brief Returns the GUID that represents the entity in the network,
|
||||
* and therefore only supports participants, readers and writers.
|
||||
*
|
||||
* @param[in] entity Entity of which to get the instance handle.
|
||||
* @param[out] guid Where to store the GUID.
|
||||
*
|
||||
* @returns A dds_return_t indicating success or failure.
|
||||
*
|
||||
* @retval DDS_RETCODE_OK
|
||||
* Success.
|
||||
* @retval DDS_RETCODE_ILLEGAL_OPERATION
|
||||
* The operation is invoked on an inappropriate object.
|
||||
* @retval DDS_RETCODE_ERROR
|
||||
* An internal error has occurred.
|
||||
*/
|
||||
/* TODO: Check list of return codes is complete. */
|
||||
DDS_EXPORT dds_return_t
|
||||
dds_get_guid (dds_entity_t entity, dds_guid_t *guid);
|
||||
|
||||
/*
|
||||
All entities have a set of "status conditions" (following the DCPS
|
||||
spec), read peeks, take reads & resets (analogously to read & take
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue