4 * Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
29 * @addtogroup CAPI_TELEPHONY_SERVICE_SIM
33 #include <tapi_common.h>
42 * @brief Gets SIM card initialization status and SIM card identification.
43 * @details Most of the modules which require SIM data should definitely check SIM status before using it.\n
45 * <b> Sync (or) Async: </b> This is a Synchronous API.\n
47 * <b> Prospective Clients: </b> External Apps.
51 * @privilege %http://tizen.org/privilege/telephony
53 * @remarks Card identification value is available in case of #TAPI_SIM_STATUS_SIM_INIT_COMPLETED only.
55 * @param[in] handle The handle from tel_init()
57 * @param[out] sim_status The SIM initialization status from the Telephony server boot up time \n
58 * First, you can find SIM existence if the returned value is not in #TAPI_SIM_STATUS_CARD_NOT_PRESENT and #TAPI_SIM_STATUS_CARD_REMOVED.
60 * @param[out] card_changed The SIM card identification value when @a sim_status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED \n
61 * The @a card_changed value is present when the current inserted SIM card differs from the previous SIM.
63 * @return The return type (int)
64 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
65 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
66 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
68 int tel_get_sim_init_info(TapiHandle *handle, TelSimCardStatus_t *sim_status, int *card_changed);
71 * @brief Gets the card type (SIM/USIM).
72 * @details <b> Sync (or) Async: </b> This is a Synchronous API.\n
74 * <b> Prospective Clients: </b> External Apps.
78 * @privilege %http://tizen.org/privilege/telephony
80 * @param[in] handle The handle from tel_init()
82 * @param[out] card_type The SIM card type information such as GSM SIM card, USIM, and other unknown types
83 * TAPI_SIM_CARD_TYPE_UNKNOWN
84 * TAPI_SIM_CARD_TYPE_GSM
85 * TAPI_SIM_CARD_TYPE_USIM
87 * @return The return type (int)
88 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation is completed successfully
89 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
90 * Positive integer : It provides an error code while actual operations (Refer #TelSimAccessResult_t)
92 int tel_get_sim_type(TapiHandle *handle, TelSimCardType_t *card_type);
95 * @brief Gets IMSI information.
96 * @details <b> Sync (or) Async: </b> This is a Synchronous API.\n
98 * <b> Prospective Clients: </b> External Apps.
102 * @privilege %http://tizen.org/privilege/telephony
104 * @remarks IMSI value is the value that security requires.
106 * @param[in] handle The handle from tel_init()
108 * @param[out] imsi The IMSI information \n
109 * Refer #TelSimImsiInfo_t.
111 * @return The return type (int)
112 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
113 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
114 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
116 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
118 int tel_get_sim_imsi(TapiHandle *handle, TelSimImsiInfo_t *imsi);
121 * @brief Gets ECC(SIM) or UECC(USIM) data.
122 * @details <b> Sync (or) Async: </b> This is a Synchronous API.\n
124 * <b> Prospective Clients: </b> External Apps.
128 * @privilege %http://tizen.org/privilege/telephony
130 * @param[in] handle The handle from tel_init()
132 * @param[out] ecc The SIM emergency call code information like ECC length, service type, and the number of ECC records
134 * @return The return type (int)
135 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
136 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
137 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
139 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
141 int tel_get_sim_ecc(TapiHandle *handle, TelSimEccList_t *ecc);
144 * @brief Gets the unique identification number of the (U)ICC.
145 * @details ICC means Integrated Circuit Card.\n
147 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
149 * <b> Prospective Clients: </b> External Apps.
153 * @privilege %http://tizen.org/privilege/telephony
155 * @remarks ICC number value is the value that security needs.
157 * @param[in] handle The handle from tel_init()
159 * @param[in] callback To register a callback function for result
161 * @param[in] user_data The user data for user specification
163 * @return The return type (int)
164 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation is completed successfully
165 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
166 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
168 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
169 * @post callback will be invoked and #TelSimIccIdInfo_t will be stored in data on success case.
171 int tel_get_sim_iccid(TapiHandle *handle, tapi_response_cb callback, void *user_data);
174 * @brief Gets language preference(indication) information.
175 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.\n
177 * <b> Prospective Clients: </b> External Apps.
181 * @privilege %http://tizen.org/privilege/telephony
183 * @param[in] handle The handle from tel_init()
185 * @param[in] callback To register a callback function for result
187 * @param[in] user_data The user data for user specification
189 * @return The return type (int)
190 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
191 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
192 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
194 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
195 * @post callback will be invoked and #TelSimLanguagePreferenceCode_t will be stored in data on success case.
197 int tel_get_sim_language(TapiHandle *handle, tapi_response_cb callback, void *user_data);
200 * @brief Updates language preference information to the SIM card.
202 * @details This function makes a Dbus method call to the Telephony Server and returns an immediate value.
203 * However it just means that the API request has been transfered to the CP successfully.
204 * The actual operation result is being delivered in the corresponding event asynchronously.\n
206 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
208 * <b> Prospective Clients: </b> External Apps.
211 * @privlevel platform
212 * @privilege %http://tizen.org/privilege/telephony.admin
214 * @remarks This function updates SIM Language information directly and can have an effect on the device language setting. Use carefully.
216 * @param[in] handle The handle from tel_init()
218 * @param[in] language The language preference information
220 * @param[in] callback To register a callback function for result
222 * @param[in] user_data The user data for user specification
224 * @return The return type (int)
225 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
226 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
227 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
228 * @post callback will be invoked and data is NULL.
230 int tel_set_sim_language(TapiHandle *handle, TelSimLanguagePreferenceCode_t language, tapi_response_cb callback, void *user_data);
233 * @brief Gets SIM call forwarding indication related data(EF-CFIS and CPHS case).
234 * @details This data is required for Call forwarding related functionality in the handset.\n
236 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
238 * <b> Prospective Clients: </b> External Apps.
242 * @privilege %http://tizen.org/privilege/telephony
244 * @param[in] handle The handle from tel_init()
246 * @param[in] callback To register a callback function for result
248 * @param[in] user_data The user data for user specification
250 * @return The return type (int)
251 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
252 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
253 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
255 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
256 * @post callback will be invoked and #TelSimCallForwardingResp_t will be stored in data on success case.
258 int tel_get_sim_callforwarding_info(TapiHandle *handle, tapi_response_cb callback, void *user_data);
261 * @brief Sets SIM call forwarding indication related data(EF-CFIS and CPHS case).
262 * @details This data is required for Call forwarding related functionality in the handset.\n
264 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
266 * <b> Prospective Clients: </b> External Apps.
269 * @privlevel platform
270 * @privilege %http://tizen.org/privilege/telephony.admin
272 * @param[in] handle The handle from tel_init()
274 * @param[in] req_cf The data requesting for call forwarding
276 * @param[in] callback To register a callback function for result
278 * @param[in] user_data The user data for user specification
280 * @return The return type (int)
281 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
282 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
283 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
285 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
286 * @post callback will be invoked and data is NULL.
288 int tel_set_sim_callforwarding_info(TapiHandle *handle, TelSimCallForwardingReq_t *req_cf, tapi_response_cb callback, void *user_data);
291 * @brief Gets SIM message waiting indication related data(EF-MWIS and CPHS case).
292 * @details This data is required for Message waiting related functionality in the handset.\n
294 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
296 * <b> Prospective Clients: </b> External Apps.
300 * @privilege %http://tizen.org/privilege/telephony
302 * @param[in] handle The handle from tel_init()
304 * @param[in] callback To register a callback function for result
306 * @param[in] user_data The user data for user specification
308 * @return The return type (int)
309 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
310 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
311 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
313 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
314 * @post callback will be invoked and #TelSimMessageWaitingResp_t will be stored in data on success case.
316 int tel_get_sim_messagewaiting_info(TapiHandle *handle, tapi_response_cb callback, void *user_data);
319 * @brief Sets SIM message waiting indication related data(EF-MWIS and CPHS case).
320 * @details This data is required for Message waiting related functionality in the handset.\n
322 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
324 * <b> Prospective Clients: </b> External Apps.
327 * @privlevel platform
328 * @privilege %http://tizen.org/privilege/telephony.admin
330 * @param[in] handle The handle from tel_init()
332 * @param[in] req_mw The data requesting for message waiting
334 * @param[in] callback To register a callback function for result
336 * @param[in] user_data The user data for user specification
338 * @return The return type (int)
339 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
340 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
341 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
343 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
344 * @post callback will be invoked and data is NULL.
346 int tel_set_sim_messagewaiting_info(TapiHandle *handle, TelSimMessageWaitingReq_t *req_mw, tapi_response_cb callback, void *user_data);
349 * @brief Gets SIM mailbox related data(EF-MBDN, MBDI, and CPHS case).
350 * @details This data is required for Mailbox related functionality in the handset.\n
352 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
354 * <b> Prospective Clients: </b> External Apps.
358 * @privilege %http://tizen.org/privilege/telephony
360 * @param[in] handle The handle from tel_init()
362 * @param[in] callback To register a callback function for result
364 * @param[in] user_data The user data for user specification
366 * @return The return type (int)
367 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
368 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
369 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
371 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
372 * @post callback will be invoked and #TelSimMailboxList_t will be stored in data on success case.
374 int tel_get_sim_mailbox_info(TapiHandle *handle, tapi_response_cb callback, void *user_data);
377 * @brief Sets SIM mailbox related data(EF-MBDN, MBDI and CPHS case).
378 * @details This data is required for Mailbox related functionality in the handset.\n
380 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
382 * <b> Prospective Clients: </b> External Apps.
385 * @privlevel platform
386 * @privilege %http://tizen.org/privilege/telephony.admin
388 * @param[in] handle The handle from tel_init()
390 * @param[in] req_mb The data requesting for mailbox info
392 * @param[in] callback To register a callback function for result
394 * @param[in] user_data The user data for user specification
396 * @return The return type (int)
397 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
398 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
399 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
401 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
402 * @post callback will be invoked and data is NULL.
404 int tel_set_sim_mailbox_info(TapiHandle *handle, TelSimMailBoxNumber_t *req_mb, tapi_response_cb callback, void *user_data);
407 * @brief Gets SIM CPHS specific data.
408 * @details This data is required for CPHS related functionality in the handset.\n
410 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
412 * <b> Prospective Clients: </b> External Apps.
416 * @privilege %http://tizen.org/privilege/telephony
418 * @param[in] handle The handle from tel_init()
420 * @param[in] callback To register a callback function for result
422 * @param[in] user_data The user data for user specification
424 * @return The return type (int)
425 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
426 * Negative integer : it provides an error code before actual operations (Refer #TapiResult_t)
427 * Positive integer : it provides an error code during actual operations (Refer #TelSimAccessResult_t)
429 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
430 * @post callback will be invoked and #TelSimCphsInfo_t will be stored in data on success case.
432 int tel_get_sim_cphs_info(TapiHandle *handle, tapi_response_cb callback, void *user_data);
435 * @brief Gets the SIM Service Table.
436 * @details This data is required to know which SIM services are enabled or disabled.\n
438 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
440 * <b> Prospective Clients: </b> External Apps.
444 * @privilege %http://tizen.org/privilege/telephony
446 * @param[in] handle The handle from tel_init()
448 * @param[in] callback To register a callback function for result
450 * @param[in] user_data The user data for user specification
452 * @return The return type (int)
453 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
454 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
455 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
457 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
458 * @post callback will be invoked and #TelSimServiceTable_t will be stored in data on success case.
460 int tel_get_sim_service_table(TapiHandle *handle, tapi_response_cb callback, void *user_data);
463 * @brief Gets SIM MSISDN data.
464 * @details Regarding 3GPP specification, the current value is optional.\n
466 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
468 * <b> Prospective Clients: </b> External Apps.
472 * @privilege %http://tizen.org/privilege/telephony
474 * @param[in] handle The handle from tel_init()
476 * @param[in] callback To register a callback function for result
478 * @param[in] user_data The user data for user specification
480 * @return The return type (int)
481 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
482 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
483 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
485 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
486 * @post callback will be invoked and #TelSimMsisdnList_t will be stored in data on success case.
488 int tel_get_sim_msisdn(TapiHandle *handle, tapi_response_cb callback, void *user_data);
491 * @brief Gets SIM OPLMNWACT(Operator controlled PLMN Selector with Access Technology) data.
492 * @details Regarding 3GPP specification, the current value is optional.\n
494 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
496 * <b> Prospective Clients: </b> External Apps.
500 * @privilege %http://tizen.org/privilege/telephony
502 * @param[in] handle The handle from tel_init()
504 * @param[in] callback To register a callback function for result
506 * @param[in] user_data The user data for user specification
508 * @return The return type (int)
509 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
510 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
511 * Positive integer : It provides an error code while actual operations (Refer #TelSimAccessResult_t)
513 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
514 * @post callback will be invoked and #TelSimOplmnwactList_t will be stored in data on success case.
516 int tel_get_sim_oplmnwact(TapiHandle *handle, tapi_response_cb callback, void *user_data);
519 * @brief Gets SIM PSISMSC(url) data.
520 * @details Regarding 3GPP specification, the current value is optional.\n
522 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
524 * <b> Prospective Clients: </b> External Apps.
528 * @privilege %http://tizen.org/privilege/telephony
530 * @param[in] handle The handle from tel_init()
532 * @param[in] callback To register a callback function for result
534 * @param[in] user_data The user data for user specification
536 * @return The return type (int)
537 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
538 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
539 * Positive integer : It provides an error code while actual operations (Refer #TelSimAccessResult_t)
541 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
542 * @post callback will be invoked and #TelSimOplmnwactList_t will be stored in data on success case.
544 int tel_get_sim_psismsc(TapiHandle *handle, tapi_response_cb callback, void *user_data);
548 * @brief Gets SIM SPN data.
549 * @details Regarding 3GPP specification, the current value is optional.\n
551 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
553 * <b> Prospective Clients: </b> External Apps.
557 * @privilege %http://tizen.org/privilege/telephony
559 * @param[in] handle The handle from tel_init()
561 * @param[in] callback To register a callback function for result
563 * @param[in] user_data The user data for user specification
565 * @return The return type (int)
566 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
567 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
568 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
570 * @pre The user can get valid return value or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
571 * @post callback will be invoked and #TelSimSpn_t will be stored in data on success case.
573 int tel_get_sim_spn(TapiHandle *handle, tapi_response_cb callback, void *user_data);
576 * @brief Gets SIM CPHS NETNAME data.
577 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.\n
579 * <b> Prospective Clients: </b> External Apps.
583 * @privilege %http://tizen.org/privilege/telephony
585 * @param[in] handle The handle from tel_init()
587 * @param[in] callback To register a callback function for result
589 * @param[in] user_data The user data for user specification
591 * @return The return type (int)
592 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
593 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
594 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
596 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
597 * @post callback will be invoked and #TelSimCphsNetName_t will be stored in data on success case.
599 int tel_get_sim_cphs_netname(TapiHandle *handle, tapi_response_cb callback, void *user_data);
602 * @brief Executes an authentication procedure by using SIM.
604 * @details This function makes a Dbus method call to the Telephony Server and returns an immediate value.
605 * However it just means that the API request has been transfered to the CP successfully.
606 * The actual operation result is delivered in the corresponding event asynchronously.\n
607 * This function supports IMS, 3G, and GSM authentication.\n
609 * <b> Sync (or) Async: </b> This is an Asynchronous API.\n
611 * <b> Prospective Clients: </b> External Apps.
614 * @privlevel platform
615 * @privilege %http://tizen.org/privilege/telephony.admin
617 * @param[in] handle The handle from tel_init()
619 * @param[in] authentication_data The authentication code to be validated by the ISIM, 3G, and GSM application in the SIM card \n
620 * Refer #TelSimAuthenticationData_t.
622 * @param[in] callback To register a callback function for result
624 * @param[in] user_data The user data for user specification
626 * @return The return type (int)
627 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
628 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
629 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
630 * @post callback will be invoked and #TelSimAuthenticationResponse_t will be stored in data on success case.
632 int tel_req_sim_authentication(TapiHandle *handle, TelSimAuthenticationData_t *authentication_data, tapi_response_cb callback, void *user_data);
635 * @deprecated Deprecated Since 2.4. Use tel_verify_sim_pins().
636 * @brief Performs PIN1/PIN2/SIM LOCK verification.
637 * @details This function performs PIN verification based on the PIN type passed along with @a pin_data:\n
638 * PIN1 code: The SIM card has its own password to check access permissions.\n
639 * SIM Lock code: Between Device and SIM card using a SIM password is only available on certain handsets to authorize.\n
641 * This function makes a Dbus method call to the Telephony Server and returns an immediate value.
642 * However it just means that the API request has been transfered to the CP successfully.
643 * The actual operation result is delivered in the corresponding event asynchronously.
645 * <b> Sync (or) Async: </b> This is an Asynchronous API.
647 * <b> Prospective Clients: </b> External Apps.
650 * @privlevel platform
651 * @privilege %http://tizen.org/privilege/telephony.admin
653 * @remarks If the PIN status (PIN/PUK/SIM LOCK) is blocked, an unsolicited event #TAPI_EVENT_SIM_STATUS_IND will be published to Applications on Device boot time.
654 * If the PIN status is PUK, you should use #tel_verify_sim_puks instead of this API.
656 * @param[in] handle The handle from tel_init()
658 * @param[in] pin_data The PIN code, entered by the user \n
659 * You should make all the parameters.
661 * @param[in] callback To register a callback function for result
663 * @param[in] user_data The user data for user specification
665 * @return The return type (int)
666 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation is completed successfully
667 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
668 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
670 * @pre This API is used when #TelSimCardStatus_t is #TAPI_SIM_STATUS_SIM_PIN_REQUIRED or #TAPI_SIM_STATUS_SIM_LOCK_REQUIRED on boot time.
671 * @post callback will be invoked and #TelSimSecResult_t will be stored in data on success case.
673 int tel_verifiy_sim_pins(TapiHandle *handle, const TelSimSecPw_t *pin_data, tapi_response_cb callback, void *user_data);
676 * @brief Performs PIN1/PIN2/SIM LOCK verification.
677 * @details This function performs PIN verification based on the PIN type passed along with @a pin_data:\n
678 * PIN1 code: The SIM card has its own password to check access permissions.\n
679 * SIM Lock code: Between Device and SIM card using a SIM password is only available on certain handsets to authorize.\n
681 * This function makes a Dbus method call to the Telephony Server and returns an immediate value.
682 * However it just means that the API request has been transfered to the CP successfully.
683 * The actual operation result is delivered in the corresponding event asynchronously.
685 * <b> Sync (or) Async: </b> This is an Asynchronous API.
687 * <b> Prospective Clients: </b> External Apps.
690 * @privlevel platform
691 * @privilege %http://tizen.org/privilege/telephony.admin
693 * @remarks If the PIN status (PIN/PUK/SIM LOCK) is blocked, an unsolicited event #TAPI_EVENT_SIM_STATUS_IND will be published to Applications on Device boot time.
694 * If the PIN status is PUK, you should use #tel_verify_sim_puks instead of this API.
696 * @param[in] handle The handle from tel_init()
698 * @param[in] pin_data The PIN code, entered by the user \n
699 * You should make all the parameters.
701 * @param[in] callback To register a callback function for result
703 * @param[in] user_data The user data for user specification
705 * @return The return type (int)
706 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation is completed successfully
707 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
708 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
710 * @pre This API is used when #TelSimCardStatus_t is #TAPI_SIM_STATUS_SIM_PIN_REQUIRED or #TAPI_SIM_STATUS_SIM_LOCK_REQUIRED on boot time.
711 * @post callback will be invoked and #TelSimSecResult_t will be stored in data on success case.
713 int tel_verify_sim_pins(TapiHandle *handle, const TelSimSecPw_t *pin_data, tapi_response_cb callback, void *user_data);
716 * @brief Performs PIN1/PIN2 unblocking operation based on PUK information passed along with
717 * unblock information entered by the user.
719 * @details If you get the SIM card status (#TAPI_SIM_STATUS_SIM_PUK_REQUIRED) using #tel_get_sim_init_info on boot time
720 * or (#TAPI_SIM_PIN_STATUS_BLOCKED) using #tel_get_sim_facility after normal initialization for a specific operation,
721 * you may unblock PIN1/PIN2.
723 * This function makes a Dbus method call to the Telephony Server and returns an immediate value.
724 * However it just means that the API request has been transfered to the CP successfully.
725 * The actual operation result is delivered in the corresponding event asynchronously.
727 * <b> Sync (or) Async: </b> This is an Asynchronous API.
729 * <b> Prospective Clients: </b> External Apps.
732 * @privlevel platform
733 * @privilege %http://tizen.org/privilege/telephony.admin
735 * @remarks If the PIN status (PIN1/PIN2) is blocked, an unsolicited event #TAPI_EVENT_SIM_STATUS_IND
736 * will be published to Applications on boot time.
737 * If you exceed the specified number of attempts to unblock PIN, the SIM card will be blocked permanently.
739 * @param[in] handle The handle from tel_init()
741 * @param[in] puk_data The unblocking PIN password #TelSimSecPw_t
743 * @param[in] new_pin_data The PIN password to use after the unblocking operation #TelSimSecPw_t
745 * @param[in] callback To register a callback function for result
747 * @param[in] user_data The user data for user specification
749 * @return The return type (int)
750 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
751 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
752 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
754 * @pre PIN1 or PIN2 status should be #TAPI_SIM_PIN_STATUS_BLOCKED and Card status should be #TAPI_SIM_STATUS_SIM_PUK_REQUIRED on boot time.
756 * @post callback will be invoked and #TelSimSecResult_t will be stored in data on success case.
757 * @post After success on unblocking for PIN1 or PIN2, each pin check facility is enabled even if the previous facility is disabled.
759 int tel_verify_sim_puks(TapiHandle *handle, const TelSimSecPw_t *puk_data, const TelSimSecPw_t *new_pin_data, tapi_response_cb callback, void *user_data);
762 * @brief Changes the PIN1/PIN2 code based on the PIN type passed along with old PIN data and new PIN data.
764 * @details This function makes a Dbus method call to the Telephony Server and returns an immediate value.
765 * However it just means that the API request has been transfered to the CP successfully.
766 * The actual operation result is delivered in the corresponding event asynchronously.
768 * <b> Sync (or) Async: </b> This is an Asynchronous API.
770 * <b> Prospective Clients: </b> External Apps.
773 * @privlevel platform
774 * @privilege %http://tizen.org/privilege/telephony.admin
776 * @remarks The user should set the same PIN type for both @a old_pin and @a new_pin.
778 * @param[in] handle The handle from tel_init()
780 * @param[in] old_pin The old PIN code entered by the user \n
781 * Refer #TelSimSecPw_t.
783 * @param[in] new_pin The new PIN code entered by the user \n
784 * Refer #TelSimSecPw_t.
786 * @param[in] callback To register a callback function for result
788 * @param[in] user_data The user data for user specification
790 * @return The return type (int)
791 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation is completed successfully
792 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
793 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
795 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
796 * @post callback will be invoked and #TelSimSecResult_t will be stored in data on success case.
798 int tel_change_sim_pins(TapiHandle *handle, const TelSimSecPw_t *old_pin, const TelSimSecPw_t *new_pin, tapi_response_cb callback, void *user_data);
801 * @brief Disables the SIM facility.
802 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.
804 * <b> Prospective Clients: </b> External Apps.
807 * @privlevel platform
808 * @privilege %http://tizen.org/privilege/telephony.admin
810 * @param[in] handle The handle from tel_init()
812 * @param[in] pw A structure which contains the facility type and password
814 * @param[in] callback To register a callback function for result
816 * @param[in] user_data The user data for user specification
818 * @return The return type (int)
819 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
820 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
821 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
822 * @post callback will be invoked and #TelSimFacilityResult_t will be stored in data on success case.
824 int tel_disable_sim_facility(TapiHandle *handle, TelSimFacilityPw_t *pw, tapi_response_cb callback, void *user_data);
827 * @brief Enables the SIM facility.
828 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.
830 * <b> Prospective Clients: </b> External Apps.
833 * @privlevel platform
834 * @privilege %http://tizen.org/privilege/telephony.admin
836 * @param[in] handle The handle from tel_init()
838 * @param[in] pw A structure which contains the facility type and password
840 * @param[in] callback To register a callback function for result
842 * @param[in] user_data The user data for user specification
844 * @return The return type (int)
845 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
846 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
847 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
848 * @post callback will be invoked and #TelSimFacilityResult_t will be stored in data on success case.
850 int tel_enable_sim_facility(TapiHandle *handle, TelSimFacilityPw_t *pw, tapi_response_cb callback, void *user_data);
853 * @brief Gets the SIM facility.
854 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.
856 * <b> Prospective Clients: </b> External Apps.
860 * @privilege %http://tizen.org/privilege/telephony
862 * @param[in] handle The handle from tel_init()
864 * @param[in] type The type of security lock
866 * @param[in] callback To register a callback function for result
868 * @param[in] user_data The user data for user specification
870 * @return The return type (int)
871 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
872 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
873 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
874 * @post callback will be invoked and #TelSimFacilityInfo_t will be stored in data on success case.
876 int tel_get_sim_facility(TapiHandle *handle, TelSimLockType_t type, tapi_response_cb callback, void *user_data);
879 * @brief Gets SIM LOCK TYPE info.
880 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.
882 * <b> Prospective Clients: </b> External Apps.
886 * @privilege %http://tizen.org/privilege/telephony
888 * @param[in] handle The handle from tel_init()
890 * @param[in] type The type of security lock
892 * @param[in] callback To register a callback function for result
894 * @param[in] user_data The user data for user specification
896 * @return The return type (int)
897 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
898 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
899 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
900 * @post callback will be invoked and #TelSimLockInfo_t will be stored in data on success case.
902 int tel_get_sim_lock_info(TapiHandle *handle, TelSimLockType_t type, tapi_response_cb callback, void *user_data);
905 * @brief Sets the SIM power state.
907 * @details <b> Sync (or) Async: </b> This is an Asynchronous API.
909 * <b> Prospective Clients: </b> External Apps.
912 * @privlevel platform
913 * @privilege %http://tizen.org/privilege/telephony.admin
915 * @param [in] handle The handle from tel_init()
917 * @param[in] state The state of SIM to be set \n
918 * It is either ON or OFF.
920 * @param [in] callback To register a callback function for result
922 * @param [in] user_data The user data for user specification
924 * @return The return type (int)
925 * Integer '0' ( same with #TAPI_SIM_POWER_SET_SUCCESS ) - indicates that the operation has completed successfully
926 * Positive integer : It provides an error code while actual operations (Refer #TelSimPowerSetResult_t)
927 * @post callback will be invoked and data is NULL.
929 int tel_set_sim_power_state(TapiHandle *handle, TelSimPowerState_t state, tapi_response_cb callback, void *user_data);
932 * @brief Provides a common interface for accessing SIM data.
934 * @details This function is based on the USIM generic command in ETSI TS 102 221
935 * and 3GPP TS 31.102 Characteristics of the Universal Subscriber Identity Module (USIM) application.
937 * This API provides only an interface to send APDU. The user should know well how to use APDU.
939 * This function makes a Dbus method call to the Telephony Server and returns an immediate value.
940 * However it just means that the API request has been transfered to the CP successfully.
941 * The actual operation result is being delivered in the corresponding event asynchronously.
943 * <b> Sync (or) Async: </b> This is an Asynchronous API.
945 * <b> Prospective Clients: </b> External Apps.
948 * @privlevel platform
949 * @privilege %http://tizen.org/privilege/telephony.admin
951 * @param[in] handle The handle from tel_init()
953 * @param[in] apdu_data The APDU data
955 * @param[in] callback To register a callback function for result
957 * @param[in] user_data The user data for user specification
959 * @return The return type (int)
960 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
961 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
962 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
964 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
965 * @post callback will be invoked and #TelSimApduResp_t will be stored in data on success case.
967 int tel_req_sim_apdu(TapiHandle *handle, TelSimApdu_t* apdu_data, tapi_response_cb callback, void *user_data);
970 * @brief Provides a common interface to get the SIM ATR(Answer To Reset) value.
972 * @details This function makes a Dbus method call to the Telephony Server and returns an immediate value.
973 * However it just means that the API request has been transfered to the CP successfully.
974 * The actual operation result is delivered in the corresponding event asynchronously.
976 * <b> Sync (or) Async: </b> This is an Asynchronous API.
978 * <b> Prospective Clients: </b> External Apps.
982 * @privilege %http://tizen.org/privilege/telephony
984 * @param[in] handle The handle from tel_init()
986 * @param[in] callback To register a callback function for result
988 * @param[in] user_data The user data for user specification
990 * @return The return type (int)
991 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
992 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
993 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
995 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
996 * @post callback will be invoked and #TelSimAtrResp_t will be stored in data on success case.
998 int tel_req_sim_atr(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1001 * @breif Gets the list of application on UICC.
1002 * @details It is possible to have multiple applications on single UICC.
1004 * <b> Sync (or) Async: </b> This is a Synchronous API.
1008 * @privilege %http://tizen.org/privilege/telephony
1010 * @param[in] handle The handle from tel_init()
1011 * @param[out] app_list The masking value for below values
1012 * #TAPI_SIM_APP_TYPE_SIM 0x01 GSM Application
1013 * #TAPI_SIM_APP_TYPE_USIM 0x02 USIM Application
1014 * #TAPI_SIM_APP_TYPE_CSIM 0x04 CSIM Application
1015 * #TAPI_SIM_APP_TYPE_ISIM 0x08 ISIM Application
1017 * @return The return type (int)
1018 * Integer '0' (same with #TAPI_API_SUCCESS) - indicates that the operation has completed successfully
1019 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1021 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1023 int tel_get_sim_application_list(TapiHandle *handle, unsigned char *app_list);
1026 * @breif Gets the IMPI(IMS private user identity). (ISIM only)
1027 * @details Private user identity of the user.
1029 * <b> Sync (or) Async: </b> This is an Asynchronous API.
1033 * @privilege %http://tizen.org/privilege/telephony
1035 * @param[in] handle The handle from tel_init()
1036 * @param[in] callback To reigster a callback function for result
1037 * @param[in] user_data The user data for user specification
1039 * @return The return type (int)
1040 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
1041 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1042 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
1044 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1045 * @post callback will be invoked and #TelSimImpi_t will be stored in data on success case.
1047 int tel_get_sim_impi(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1050 * @breif Gets the IMPU(IMS public user identity). (ISIM only)
1051 * @details SIP URI by which other parties know the subscriber.
1053 * <b> Sync (or) Async: </b> This is an Asynchronous API.
1057 * @privilege %http://tizen.org/privilege/telephony
1059 * @param[in] handle The handle from tel_init()
1060 * @param[in] callback To reigster a callback function for result
1061 * @param[in] user_data The user data for user specification
1063 * @return The return type (int)
1064 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
1065 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1066 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
1068 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1069 * @post callback will be invoked and #TelSimImpuList_t will be stored in data on success case.
1071 int tel_get_sim_impu(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1074 * @breif Gets the Domain(Home Network Domain Name). (ISIM only)
1075 * @details Home Network Domain Name.
1077 * <b> Sync (or) Async: </b> This is an Asynchronous API.
1081 * @privilege %http://tizen.org/privilege/telephony
1083 * @param[in] handle The handle from tel_init()
1084 * @param[in] callback To reigster a callback function for result
1085 * @param[in] user_data The user data for user specification
1087 * @return The return type (int)
1088 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
1089 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1090 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
1092 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1093 * @post callback will be invoked and #TelSimDomain_t will be stored in data on success case.
1095 int tel_get_sim_domain(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1098 * @breif Gets the P-CSCF(Proxy Call Session Control Function). (ISIM only)
1099 * @details Address of Proxy Call Session Control Function, in the format of a FQDN, an IPv4 address, or an IPv6 address. \n
1100 * A UE supporting IMS Local Breakout shall use this EF only if EFIST indicates that service n=5 is "available".
1102 * <b> Sync (or) Async: </b> This is an Asynchronous API.
1106 * @privilege %http://tizen.org/privilege/telephony
1108 * @param[in] handle The handle from tel_init()
1109 * @param[in] callback To reigster a callback function for result
1110 * @param[in] user_data The user data for user specification
1112 * @return The return type (int)
1113 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
1114 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1115 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
1117 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1118 * @post callback will be invoked and #TelSimPcscfList_t will be stored in data on success case.
1120 int tel_get_sim_pcscf(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1123 * @breif Gets the ISIM service table. (ISIM only)
1124 * @details This EF indicates which optional services are available. \n
1125 * If a service is not indicated as available in the ISIM, the ME shall not select this service.
1127 * <b> Sync (or) Async: </b> This is an Asynchronous API.
1131 * @privilege %http://tizen.org/privilege/telephony
1133 * @param[in] handle The handle from tel_init()
1134 * @param[in] callback To reigster a callback function for result
1135 * @param[in] user_data The user data for user specification
1137 * @return The return type (int)
1138 * Integer '0' ( same with #TAPI_API_SUCCESS & #TAPI_SIM_ACCESS_SUCCESS ) - indicates that the operation has completed successfully
1139 * Negative integer : It provides an error code before actual operations (Refer #TapiResult_t)
1140 * Positive integer : It provides an error code during actual operations (Refer #TelSimAccessResult_t)
1142 * @pre The user can get valid return values or make operations after SIM init completes(card status is #TAPI_SIM_STATUS_SIM_INIT_COMPLETED).
1143 * @post callback will be invoked and #TelSimIST_t will be stored in data on success case.
1145 int tel_get_sim_isim_service_table(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1151 #endif /* _ITAPI_SIM_H_ */