include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-ctl.h
index 6e99bff5ff9e5c3dcbe255b62098eb33815c4e06..86aa6ef7c6b9f49bd7f6f719cb4d6596d279f8bc 100644 (file)
@@ -1,9 +1,7 @@
-/*
- * SPDX-License-Identifier: GPL-2.0-only
- *
- * Copyright (C) 2011 Julien Desfossez <julien.desfossez@polymtl.ca>
- * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2011 EfficiOS Inc.
+// SPDX-FileCopyrightText: 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: GPL-2.0-only
 
 #ifndef _LTTNG_UST_CTL_H
 #define _LTTNG_UST_CTL_H
 #include <lttng/ust-utils.h>
 #include <lttng/ust-sigbus.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef LTTNG_UST_UUID_LEN
 #define LTTNG_UST_UUID_LEN     16
 #endif
@@ -656,4 +658,10 @@ int lttng_ust_ctl_counter_clear(struct lttng_ust_ctl_daemon_counter *counter,
 
 void lttng_ust_ctl_sigbus_handle(void *addr);
 
+int lttng_ust_ctl_get_version(uint32_t *major, uint32_t *minor, uint32_t *patchlevel);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTTNG_UST_CTL_H */
This page took 0.023128 seconds and 4 git commands to generate.