16 #include "mdm/application.h" 17 #include "mdm/bluetooth.h" 18 #include "mdm/browser.h" 19 #include "mdm/container.h" 20 #include "mdm/date_time.h" 21 #include "mdm/device_inventory.h" 23 #include "mdm/email.h" 24 #include "mdm/enterprise_device.h" 25 #include "mdm/firewall.h" 26 #include "mdm/kiosk.h" 27 #include "mdm/license.h" 28 #include "mdm/location.h" 29 #include "mdm/log_manager.h" 31 #include "mdm/password.h" 32 #include "mdm/phone_restriction.h" 33 #include "mdm/phone_restriction_sim.h" 34 #include "mdm/remote.h" 35 #include "mdm/restriction.h" 36 #include "mdm/roaming.h" 37 #include "mdm/security.h" 189 #define MDMAPI_DUALSIM 765 #endif // LIBMDM_MDM_H
This structure is used to store GList.
void(* mdm_client_callback_function_free)(void *data)
Policy callback user data memory free function.
void mdm_free_data(mdm_data_t *data)
API to free an mdm_data_t structure.
mdm_policy_cb_t
Enumerate policy callback.
mdm_status_t
MDM Policy status.
mdm_result_t mdm_get_last_error(void)
API to get the error code of the last MDM function called in current thread.
int mdm_register_client_callback(mdm_policy_cb_t policy, mdm_client_callback_function cb, mdm_client_callback_function_free free_cb, void *userData)
API to register a callback function for the given policy.
void(* mdm_client_callback_function)(int oper, void *cb_data, void *user_data)
Policy callback function pointer.
mdm_result_t mdm_deregister_policy_receiver(policy_receiver_t *handle)
API to deregister the policy change callback function.
void(* on_policy_receiver_callback)(int status, void *p_user_data)
Policy receiver callback to be called in case of policy change.
mdm_result_t mdm_get_service(void)
API to connect to MDM server daemon, and get caller information.
mdm_result_t mdm_release_service(void)
API to close the connection and release the resources.
policy_receiver_handle mdm_register_policy_receiver(mdm_policy_noti_t noti, void *user_data, on_policy_receiver_callback callback)
API to register a callback function that is called when a policy is changed during runtime...
mdm_policy_noti_t
Enumerate policy change notification type.
struct policy_receiver_s policy_receiver_t
Policy receiver handle type.
mdm_result_t
MDM API result.
int mdm_deregister_client(const char *pkg_name)
API to close current session with MDM server.
policy_receiver_t * policy_receiver_handle
mdm_status_t mdm_is_client_registered(const char *pkg_name)
API to check if an MDM client is registered in MDM Server.
int mdm_register_client(const char *pkg_name)
API to register an MDM client.
int mdm_get_service_ext(const char *pkg_name)
API to connect to the MDM server daemon and get caller information.