extern "C" {
#endif
+/**
+ * @addtogroup Common
+ * @{
+ */
+
/**
* @brief The audit-trail handle
* @details The audit-trail handle is an abstraction of the logical
#include <tizen.h>
/**
- * @file ode.h
- * @brief This file defines common data types required to ode APIs.
+ * @file common.h
+ * @brief This file defines common data types required to audit-trail APIs.
*/
#ifndef AUDIT_TRAIL_API
#endif
/**
- * @addtogroup CAPI_AUDIT_TRAIL_MODULE
+ * @addtogroup Common
* @{
*/
AUDIT_TRAIL_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA /**< No Data */
} audit_trail_error_type_e;
-/**
- * @brief Called to get all strings in an array
- * @since_tizen 5.0
- * @param[in] log Each string in an array
- * @param[in] user_data The user data passed from the function
- * @see audit_trail_add_log_cb
- * @see audit_trail_remove_log_cb
- * @see audit_trail_foreach_smack
- */
-typedef void (*audit_trail_string_cb)(const char* log, void* user_data);
-
/**
* @}
*/
extern "C" {
#endif
+/**
+ * @addtogroup DAC Discretionary Access Control
+ * @{
+ */
+
/**
* @brief The audit-trail DAC log handle
* @details The audit-trail DAC log handle is an abstraction of the DAC log
/**
* @brief Retrieves all DAC logs that occured in system.
- * @details This API calls audit_trail_string_cb() once for each DAC
+ * @details This API calls audit_trail_dac_cb() once for each DAC
* (Discretionary Access Control) logs collected by audit-trail
* when DAC auditing is enabled.
* @since_tizen 5.0
extern "C" {
#endif
+/**
+ * @addtogroup MAC Mandatory Access Control
+ * @{
+ */
+
/**
* @brief The audit-trail MAC log handle
* @details The audit-trail MAC log handle is an abstraction of the MAC log
/**
* @brief Retrieves all MAC logs that occured in system.
- * @details This API calls audit_trail_string_cb() once for each MAC
+ * @details This API calls audit_trail_mac_cb() once for each MAC
* (Mandatory Access Control) logs collected by audit-trail
* when MAC auditing is enabled.
* @since_tizen 5.0
extern "C" {
#endif
+/**
+ * @addtogroup System-call
+ * @{
+ */
+
/**
* @brief The audit-trail system call log handle
* @details The audit-trail system call log handle is an abstraction of the system call log
/**
* @brief Retrieves all system call logs that occured in system.
- * @details This API calls audit_trail_strimg_cb() once for each system call
- * logs collected by audit-trail when system call auditing is enabled.
+ * @details This API calls audit_trail_syscall_cb() once for each system
+ * call logs collected by audit-trail when system call auditing
+ * is enabled.
* @since_tizen 5.0
* @param[in] handle The audit-trail handle
* @param[in] callback The iteration callback function