gz/transport/CIface.h
void IGNITION_TRANSPORT_VISIBLE ignTransportWaitForShutdown()
Block the current thread until a SIGINT or SIGTERM is received. Note that this function registers a s...
int IGNITION_TRANSPORT_VISIBLE ignTransportAdvertise(IgnTransportNode *_node, const char *_topic, const char *_msgType)
Advertise a topic.
int IGNITION_TRANSPORT_VISIBLE ignTransportPublish(IgnTransportNode *_node, const char *_topic, const void *_data, const char *_msgType)
Publishes a message on a topic.
struct IgnTransportNode IgnTransportNode
A transport node.
Definition: gz/transport/CIface.h:33
void IGNITION_TRANSPORT_VISIBLE ignTransportNodeDestroy(IgnTransportNode **_node)
Destroy a transport node.
struct SubscribeOpts SubscribeOpts
int IGNITION_TRANSPORT_VISIBLE ignTransportUnsubscribe(IgnTransportNode *_node, const char *_topic)
Unsubscribe from a topic.
IgnTransportNode IGNITION_TRANSPORT_VISIBLE * ignTransportNodeCreate(const char *_partition)
Create a transport node.
int IGNITION_TRANSPORT_VISIBLE ignTransportSubscribe(IgnTransportNode *_node, const char *_topic, void(*_callback)(const char *, size_t, const char *, void *), void *_userData)
Subscribe to a topic, and register a callback.
int IGNITION_TRANSPORT_VISIBLE ignTransportSubscribeNonConst(IgnTransportNode *_node, char *_topic, void(*_callback)(char *, size_t, char *, void *), void *_userData)
Subscribe to a topic, and register a callback.
Definition: gz/transport/CIface.h:26
int IGNITION_TRANSPORT_VISIBLE ignTransportSubscribeOptions(IgnTransportNode *_node, const char *_topic, SubscribeOpts _opts, void(*_callback)(const char *, size_t, const char *, void *), void *_userData)
Subscribe to a topic, and register a callback.