*
*******************************************************************************/
-
/**
* @brief This file provides interface to synchronization related APIs (PTP/1588)
* for XRAN.
#ifndef _XRAN_SYNC_API_H_
#define _XRAN_SYNC_API_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief Function checks if machine is synchronized using PTP for Linux
* software.
*/
int xran_is_synchronized(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _XRAN_SYNC_API_H_ */