QRTR utilities
QRTR utilities — Utilities in the library.
|
|
Description
Common utilities in the libqrtr-glib library.
Functions
qrtr_get_uri_for_node ()
gchar *
qrtr_get_uri_for_node (guint32 node_id
);
Build a URI for the given QRTR node.
Returns
a string with the URI, or NULL
if none given. The returned value
should be freed with g_free()
.
Since: 1.0
qrtr_get_node_for_uri ()
gboolean
qrtr_get_node_for_uri (const gchar *uri
,
guint32 *node_id
);
Get the QRTR node id from the specified URI.
Returns
TRUE
if node_id
is set, FALSE
otherwise.
Since: 1.0