Define dds_guid_t as dds_builtintopic_guid_t
The former name should be less confusing. Backwards compatibility is preserved by only adding the sensible name as a typedef. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
9239547d34
commit
b2cf6921da
4 changed files with 11 additions and 7 deletions
|
@ -186,17 +186,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;
|
||||
|
|
|
@ -175,7 +175,7 @@ static struct ddsi_serdata *serdata_builtin_to_topicless (const struct ddsi_serd
|
|||
return ddsi_serdata_ref (serdata_common);
|
||||
}
|
||||
|
||||
static void convkey (dds_builtintopic_guid_t *key, const ddsi_guid_t *guid)
|
||||
static void convkey (dds_guid_t *key, const ddsi_guid_t *guid)
|
||||
{
|
||||
ddsi_guid_t tmp;
|
||||
tmp = nn_hton_guid (*guid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue