Fix: ust-app: protect app socket protocol with lock
[lttng-tools.git] / src / bin / lttng-sessiond / ust-ctl.h
index c2ab24ac9978dbac9c5876da885170e6bf64543a..5a1bb669dfbaef1f129c7ff1a036afd2c6dca8ce 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <config.h>
 
+struct ust_app;
+
 /*
  * FIXME: temporary workaround: we use a lttng-tools local version of
  * lttng-ust-abi.h if UST is not found. Eventually, we should use our
 #include <lttng/ust-abi.h>
 #include <lttng/ust-error.h>
 
-static inline
-int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
-{
-       return ustctl_release_object(sock, data);
-}
+int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
@@ -49,7 +47,7 @@ int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
 #include "lttng-ust-error.h"
 
 static inline
-int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
+int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data)
 {
        return 0;
 }
This page took 0.024618 seconds and 4 git commands to generate.