Make TIZEN 2.0
[apps/home/call.git] / call-engine / core / include / vc-core-ecc.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __VC_CORE_ECC_H_
18 #define __VC_CORE_ECC_H_
19
20 #include <stdlib.h>
21 #include <glib.h>
22 #include <glib-object.h>
23 #include "vc-core-util.h"
24
25 #ifdef CALL_DEBUG_ON_DLOG
26 #include <dlog.h>
27 #endif
28
29 #define CALL_ECC_MAX_COUNT_DEFAULT_NO_SIM       7
30 #define CALL_ECC_MAX_COUNT_DEFAULT                      2
31 #define CALL_ECC_MAX_COUNT_3                                    3
32 #define CALL_ECC_MAX_COUNT_4                                    4
33 #define CALL_ECC_MAX_COUNT_5                                    5
34 #define CALL_ECC_MAX_COUNT_6                                    6
35 #define CALL_ECC_MAX_COUNT_7                                    7
36 #define CALL_ECC_MAX_COUNT_8                                    8
37 #define CALL_ECC_MAX_COUNT_9                                    9
38 #define CALL_ECC_MAX_COUNT_10                                   10
39
40 gboolean _vc_core_ecc_check_emergency_number(TapiHandle *tapi_handle, TelSimCardType_t card_type, char *pNumber, gboolean b_is_no_sim, int *ecc_category);
41 #endif  /* __VC_CORE_ECC_H_ */