23 #ifndef LIBMDM_MDM_MDM_CLIENT_TYPE_H 24 #define LIBMDM_MDM_MDM_CLIENT_TYPE_H 28 #include <tizen_error.h> 34 #ifndef MDM_DEPRECATED_API 35 #define MDM_DEPRECATED_API __attribute__((deprecated)) 104 typedef enum _mdm_result {
119 typedef enum _mdm_status {
137 typedef enum _mdm_status_enabled {
140 STATUS_ENABLED_ERROR = -1
148 typedef enum _mdm_status_allowed {
150 STATUS_RESTRICTED = 1,
151 STATUS_ALLOWED_ERROR = -1
159 typedef enum _mdm_status_true { STATUS_TRUE = 1, STATUS_FALSE = 0, STATUS_TRUE_ERROR = -1 }
mdm_status_true;
167 typedef struct _mem_header {
169 void (*free_func)(
void *block);
177 typedef struct _mdm_data {
215 mdm_privacy_permission_state_t
state;
223 MDM_SERVER_LOG_LEVEL_DEBUG,
224 MDM_SERVER_LOG_LEVEL_INFO,
225 MDM_SERVER_LOG_LEVEL_WARN,
226 MDM_SERVER_LOG_LEVEL_ERROR,
227 MDM_SERVER_LOG_LEVEL_SILENT,
239 #endif // LIBMDM_MDM_MDM_CLIENT_TYPE_H
mdm_privacy_permission_state_t state
mdm_status_enabled
MDM Policy enabled/disabled status.
This structure is used to store GList.
void(* mdm_client_callback_function_free)(void *data)
Policy callback user data memory free function.
mdm_privacy_permission_state_t
Runtime permission policy value stored in the following states.
mdm_policy_cb_t
Enumerate policy callback.
void(* mdm_client_callback_function_ext)(void *cb_data, void *user_data)
Policy callback function pointer.
mdm_status_t
MDM Policy status.
void(* mdm_client_callback_function)(int oper, void *cb_data, void *user_data)
Policy callback function pointer.
mdm_status_allowed
MDM Policy allowed/restricted status.
This structure represents entry information about single runtime permission specification.
mdm_status_true
MDM Policy true/false status.
mdm_result_t
MDM API result.
const char * package_name
mdm_server_log_level_t
Definitions of log levels for MDM server.