Meta-topic decoders for C.
More...
|
struct NT_Meta_TopicPublisher * | NT_Meta_DecodeTopicPublishers (const uint8_t *data, size_t size, size_t *count) |
| Decodes $pub$<topic> meta-topic data. More...
|
|
struct NT_Meta_TopicSubscriber * | NT_Meta_DecodeTopicSubscribers (const uint8_t *data, size_t size, size_t *count) |
| Decodes $sub$<topic> meta-topic data. More...
|
|
struct NT_Meta_ClientPublisher * | NT_Meta_DecodeClientPublishers (const uint8_t *data, size_t size, size_t *count) |
| Decodes $clientpub$<topic> meta-topic data. More...
|
|
struct NT_Meta_ClientSubscriber * | NT_Meta_DecodeClientSubscribers (const uint8_t *data, size_t size, size_t *count) |
| Decodes $clientsub$<topic> meta-topic data. More...
|
|
struct NT_Meta_Client * | NT_Meta_DecodeClients (const uint8_t *data, size_t size, size_t *count) |
| Decodes $clients meta-topic data. More...
|
|
void | NT_Meta_FreeTopicPublishers (struct NT_Meta_TopicPublisher *arr, size_t count) |
| Frees an array of NT_Meta_TopicPublisher. More...
|
|
void | NT_Meta_FreeTopicSubscribers (struct NT_Meta_TopicSubscriber *arr, size_t count) |
| Frees an array of NT_Meta_TopicSubscriber. More...
|
|
void | NT_Meta_FreeClientPublishers (struct NT_Meta_ClientPublisher *arr, size_t count) |
| Frees an array of NT_Meta_ClientPublisher. More...
|
|
void | NT_Meta_FreeClientSubscribers (struct NT_Meta_ClientSubscriber *arr, size_t count) |
| Frees an array of NT_Meta_ClientSubscriber. More...
|
|
void | NT_Meta_FreeClients (struct NT_Meta_Client *arr, size_t count) |
| Frees an array of NT_Meta_Client. More...
|
|
Meta-topic decoders for C.
◆ NT_Meta_DecodeClientPublishers()
struct NT_Meta_ClientPublisher * NT_Meta_DecodeClientPublishers |
( |
const uint8_t * |
data, |
|
|
size_t |
size, |
|
|
size_t * |
count |
|
) |
| |
Decodes $clientpub$<topic>
meta-topic data.
- Parameters
-
data | data contents |
size | size of data contents |
count | number of elements in returned array (output) |
- Returns
- Array of ClientPublishers, or NULL on decoding error.
◆ NT_Meta_DecodeClients()
struct NT_Meta_Client * NT_Meta_DecodeClients |
( |
const uint8_t * |
data, |
|
|
size_t |
size, |
|
|
size_t * |
count |
|
) |
| |
Decodes $clients
meta-topic data.
- Parameters
-
data | data contents |
size | size of data contents |
count | number of elements in returned array (output) |
- Returns
- Array of Clients, or NULL on decoding error.
◆ NT_Meta_DecodeClientSubscribers()
Decodes $clientsub$<topic>
meta-topic data.
- Parameters
-
data | data contents |
size | size of data contents |
count | number of elements in returned array (output) |
- Returns
- Array of ClientSubscribers, or NULL on decoding error.
◆ NT_Meta_DecodeTopicPublishers()
struct NT_Meta_TopicPublisher * NT_Meta_DecodeTopicPublishers |
( |
const uint8_t * |
data, |
|
|
size_t |
size, |
|
|
size_t * |
count |
|
) |
| |
Decodes $pub$<topic>
meta-topic data.
- Parameters
-
data | data contents |
size | size of data contents |
count | number of elements in returned array (output) |
- Returns
- Array of TopicPublishers, or NULL on decoding error.
◆ NT_Meta_DecodeTopicSubscribers()
struct NT_Meta_TopicSubscriber * NT_Meta_DecodeTopicSubscribers |
( |
const uint8_t * |
data, |
|
|
size_t |
size, |
|
|
size_t * |
count |
|
) |
| |
Decodes $sub$<topic>
meta-topic data.
- Parameters
-
data | data contents |
size | size of data contents |
count | number of elements in returned array (output) |
- Returns
- Array of TopicSubscribers, or NULL on decoding error.
◆ NT_Meta_FreeClientPublishers()
Frees an array of NT_Meta_ClientPublisher.
- Parameters
-
arr | pointer to the array to free |
count | size of the array to free |
◆ NT_Meta_FreeClients()
void NT_Meta_FreeClients |
( |
struct NT_Meta_Client * |
arr, |
|
|
size_t |
count |
|
) |
| |
Frees an array of NT_Meta_Client.
- Parameters
-
arr | pointer to the array to free |
count | size of the array to free |
◆ NT_Meta_FreeClientSubscribers()
◆ NT_Meta_FreeTopicPublishers()
Frees an array of NT_Meta_TopicPublisher.
- Parameters
-
arr | pointer to the array to free |
count | size of the array to free |
◆ NT_Meta_FreeTopicSubscribers()
Frees an array of NT_Meta_TopicSubscriber.
- Parameters
-
arr | pointer to the array to free |
count | size of the array to free |