Index: include/ut_sim.h |
diff --git a/srtp/include/ut_sim.h b/include/ut_sim.h |
similarity index 97% |
rename from srtp/include/ut_sim.h |
rename to include/ut_sim.h |
index c25feeb654ae6b46077d0cae4fc850b3fca67df8..e6e1594e88bca002006c4b9612571e635b52e4e3 100644 |
--- a/srtp/include/ut_sim.h |
+++ b/include/ut_sim.h |
@@ -51,6 +51,10 @@ |
#include "integers.h" /* for uint32_t */ |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
#define UT_BUF 160 /* maximum amount of packet reorder */ |
typedef struct { |
@@ -76,5 +80,8 @@ ut_init(ut_connection *utc); |
uint32_t |
ut_next_index(ut_connection *utc); |
+#ifdef __cplusplus |
+} |
+#endif |
#endif /* UT_SIM_H */ |