add new files to open just into INTEL.
[apps/core/preloaded/ciss.git] / include / ciss-parser.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  * http://www.tizenopensource.org/license\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 #ifndef _CISS_PARSE_MMI_H_\r
18 #define _CISS_PARSE_MMI_H_\r
19 \r
20 #ifdef __cplusplus\r
21 extern "C" {\r
22 #endif /* __cplusplus */\r
23 \r
24 #include "ciss-common.h"\r
25 #include <glib.h>\r
26 \r
27 #define ISDIGIT(X) ((X >= '0') && (X <= '9'))\r
28 #define ISUSSDDIGIT(X) ((X >= '2') && (X <= '9'))\r
29 #define MAX_DIALED_DIGITS  160 /*32->160 Gumi SMC test Send SS fix. syju*/ /* QCOM00003412 */\r
30 \r
31 /***************************************************************************\r
32  *  Macros\r
33  **************************************************************************/\r
34 /* user inputs for supplementary services */\r
35 \r
36 #define MAX_SIA_LEN             40 /*17->40 Gumi SMC test Send SS fix. syju*/  /* "+" & 16 digits  */ /* QCOM00003412 */\r
37 #define MAX_SIB_LEN             4   /* PWD LEN */\r
38 #define MAX_SIC_LEN             4   /* PWD LEN */\r
39 \r
40 /**\r
41  * This function processes the responses from telephony based on the current state\r
42  *\r
43  * @return                                              Returns TRUE if request is successfully processed else false\r
44  * @param[in]           this                            Pointer to the engine state\r
45  * @param[in]           req_string              string to be processed\r
46  */\r
47 int _ciss_parse_req_string(char *req_string, ciss_mmi_context_t *mmi_ctx);\r
48 \r
49 #endif /* _CISS_PARSE_MMI_H_ */\r
50 \r