Knox Tizen Wearable SDK
phone_restriction_sim.h
1 /*
2  * Copyright (c) 2000-2019 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of
7  * SAMSUNG ELECTRONICS ("Confidential Information").
8  * You shall not disclose such Confidential Information and shall
9  * use it only in accordance with the terms of the license agreement
10  * you entered into with SAMSUNG ELECTRONICS.
11  * SAMSUNG make no representations or warranties about the suitability
12  * of the software, either express or implied, including but not
13  * limited to the implied warranties of merchantability, fitness for
14  * a particular purpose, or non-infringement.
15  * SAMSUNG shall not be liable for any damages suffered by licensee as
16  * a result of using, modifying or distributing this software or its derivatives.
17  */
18 
19 #ifndef LIBMDM_MDM_PHONE_RESTRICTION_SIM_H
20 #define LIBMDM_MDM_PHONE_RESTRICTION_SIM_H
21 
22 #include <time.h>
23 
24 #include "mdm_client_type.h"
25 #include "device_inventory.h"
26 #include "phone_restriction.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
76 mdm_result_t knox_mdm_allowed_incoming_calls_add(const char *sim_id, const char *pattern);
77 
116 
152 mdm_data_t *knox_mdm_allowed_incoming_calls_get(const char *sim_id, bool all_admins);
153 
158 #ifdef __cplusplus
159 }
160 #endif
161 
162 #endif // LIBMDM_MDM_PHONE_RESTRICTION_H
This structure is used to store GList.
mdm_result_t knox_mdm_allowed_incoming_calls_add(const char *sim_id, const char *pattern)
API to add an allowed pattern for incoming calls.
mdm_result_t
MDM API result.
mdm_data_t * knox_mdm_allowed_incoming_calls_get(const char *sim_id, bool all_admins)
API to get the list of allowed patterns for incoming calls.
mdm_result_t knox_mdm_allowed_incoming_calls_remove(const char *sim_id)
API to remove all allowed patterns of incoming calls set by the calling admin.