Fix: pass private data to context callbacks
[lttng-ust.git] / liblttng-ust / getenv.h
index c504ecbdf0dfc3176a623f0fdfb839ea0a08f281..61d4919378c44e0410bc54e4a72b3e16007cc3bf 100644 (file)
@@ -8,16 +8,18 @@
 #define _COMPAT_GETENV_H
 
 /*
- * Always add the lttng-ust environment variables to lttng_getenv()
- * infrastructure rather than using getenv() directly from lttng-ust.
- * This ensures that we don't trigger races between getenv() invoked by
- * lttng-ust listener threads invoked concurrently with setenv() called
- * by an otherwise single-threaded application thread. (the application
- * is not aware that it runs with lttng-ust)
+ * Always add the lttng-ust environment variables using the lttng_ust_getenv()
+ * infrastructure rather than using getenv() directly.  This ensures that we
+ * don't trigger races between getenv() invoked by lttng-ust listener threads
+ * invoked concurrently with setenv() called by an otherwise single-threaded
+ * application thread. (the application is not aware that it runs with
+ * lttng-ust)
  */
 
-char *lttng_getenv(const char *name);
+char *lttng_ust_getenv(const char *name)
+       __attribute__((visibility("hidden")));
 
-void lttng_ust_getenv_init(void);
+void lttng_ust_getenv_init(void)
+       __attribute__((visibility("hidden")));
 
 #endif /* _COMPAT_GETENV_H */
This page took 0.023938 seconds and 4 git commands to generate.