Add lttng_ust_ prefix before objd_unref
[lttng-ust.git] / include / ust / marker.h
index af15ad4efee84be05dcda5b76c4f53cdb6532771..8cfdcbdb54057ee16813a432ac83e69ab6df12ef 100644 (file)
 #include <bits/wordsize.h>
 #include <urcu/list.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct ust_marker;
+struct ust_marker_probe_array;
 
 /**
  * ust_marker_probe_func - Type of a marker probe function
@@ -68,7 +73,7 @@ struct ust_marker {
        uint16_t event_id;      /* Numeric event identifier, dynamic */
        void (*call)(const struct ust_marker *mdata, void *call_private, ...);
        struct ust_marker_probe_closure single;
-       struct ust_marker_probe_closure *multi;
+       struct ust_marker_probe_array *multi;
        const char *tp_name;    /* Optional tracepoint name */
        void *tp_cb;            /* Optional tracepoint callback */
 };
@@ -217,4 +222,8 @@ void __MARKER_LIB_IS_DEPRECATED()
  */
 #define MARK_NOARGS    UST_MARKER_NOARGS
 
+#ifdef __cplusplus 
+}
+#endif
+
 #endif /* _UST_MARKER_H */
This page took 0.023815 seconds and 4 git commands to generate.