[FEATURE] add evas_gl_ probes
[platform/core/system/swap-probe.git] / include / common_probe_init.h
index 541f9bb..f2daf25 100644 (file)
 #ifndef __COMMON_PROBE_INIT_H__
 #define __COMMON_PROBE_INIT_H__
 
-#include "dahelper.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
 
+#include "dahelper.h"
 ////////////////////////////////////////////////////////////////////////////
 //egl init probe function
 //  params:
 //  info
 //    search original function by name
 //    function have no return becouse on error it terminates main application
-void init_probe_egl(const char *func_name, void **func_pointer, ORIGINAL_LIBRARY id);
+extern void init_probe_egl(const char *func_name, void **func_pointer,
+                          ORIGINAL_LIBRARY id);
+
+extern void init_probe_gl(const char *func_name, void **func_pointer,
+                         ORIGINAL_LIBRARY id, int blockresult, int32_t vAPI_ID);
+
+extern void probe_terminate_with_err(const char *msg, const char *func_name,
+                                    ORIGINAL_LIBRARY id);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
 
-void probe_terminate_with_err(const char *msg, const char *func_name,
-                             ORIGINAL_LIBRARY id);
 #endif /* __COMMON_PROBE_INIT_H__ */