Change-Id: I43afc780c30004f1f588a72a1f018c1e547659c4
#ifndef __DUMPSYS_SYSTEM_H__
#define __DUMPSYS_SYSTEM_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief Callback function
* @param[in] fd File descriptor to write
*/
extern int dumpsys_system_unregister_dump_cb(void *handler);
+#ifdef __cplusplus
+}
+#endif
+
#endif // __DUMPSYS_SYSTEM_H__
*/
typedef int (*dumpsys_dump_cb)(dumpsys_dump_h dump_context);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief Register the callback.
* @param[in] callback A callback for data retrieval.
* @retval TIZEN_ERROR_INVALID_PARAMETER Invalid parameter value.
*/
extern int dumpsys_get_args_array(dumpsys_dump_h dump_context, char ***args_array);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif // __DUMPSYS_USER_H__