Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
{
return memcmp(nil_uuid, uuid, sizeof(lttng_uuid)) == 0;
}
{
return memcmp(nil_uuid, uuid, sizeof(lttng_uuid)) == 0;
}
+
+void lttng_uuid_copy(lttng_uuid dst, const lttng_uuid src)
+{
+ memcpy(dst, src, sizeof(lttng_uuid));
+}
LTTNG_HIDDEN
bool lttng_uuid_is_nil(const lttng_uuid uuid);
LTTNG_HIDDEN
bool lttng_uuid_is_nil(const lttng_uuid uuid);
+LTTNG_HIDDEN
+void lttng_uuid_copy(lttng_uuid dst, const lttng_uuid src);
+
#endif /* LTTNG_UUID_H */
#endif /* LTTNG_UUID_H */