#include "sessiond-comm.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* See man tcp(7) for more detail about this value. */
#define LTTCOMM_INET_PROC_SYN_RETRIES_PATH "/proc/sys/net/ipv4/tcp_syn_retries"
#define LTTCOMM_INET_PROC_FIN_TIMEOUT_PATH "/proc/sys/net/ipv4/tcp_fin_timeout"
* Maximum timeout value in seconds of a TCP connection for both send/recv and
* connect operations.
*/
-extern unsigned long lttcomm_inet_tcp_timeout;
+LTTNG_EXPORT extern unsigned long lttcomm_inet_tcp_timeout;
/* Stub */
struct lttcomm_sock;
/* Initialize inet communication layer. */
extern void lttcomm_inet_init(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTCOMM_INET_H */