common: compile libconfig as C++
[lttng-tools.git] / src / common / defaults.h
index faff595c62d4772c3bb05dda31a9bb193e047fd7..95b1dc29ba16fa5c87df7d00f798eec68ccc1a85 100644 (file)
 #include <pthread.h>
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Default unix group name for tracing. */
 #define DEFAULT_TRACING_GROUP                   "tracing"
 
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-LTTNG_HIDDEN
 size_t default_get_channel_subbuf_size(void);
 
 /*
@@ -388,7 +391,6 @@ size_t default_get_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-LTTNG_HIDDEN
 size_t default_get_metadata_subbuf_size(void);
 
 /*
@@ -397,7 +399,6 @@ size_t default_get_metadata_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-LTTNG_HIDDEN
 size_t default_get_kernel_channel_subbuf_size(void);
 
 /*
@@ -406,7 +407,6 @@ size_t default_get_kernel_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-LTTNG_HIDDEN
 size_t default_get_ust_pid_channel_subbuf_size(void);
 
 /*
@@ -415,7 +415,6 @@ size_t default_get_ust_pid_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-LTTNG_HIDDEN
 size_t default_get_ust_uid_channel_subbuf_size(void);
 
 /*
@@ -427,7 +426,10 @@ size_t default_get_ust_uid_channel_subbuf_size(void);
  * pthread_attr_t pointer where the thread stack size is set to the soft stack
  * size limit.
  */
-LTTNG_HIDDEN
 pthread_attr_t *default_pthread_attr(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _DEFAULTS_H */
This page took 0.024006 seconds and 4 git commands to generate.