a303c9988ae1dcc1590c1f620379689a97fa04f8
[framework/telephony/libslp-tapi.git] / wearable / include / TelDefines.h
1 /*
2  * libslp-tapi
3  *
4  * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Ja-young Gu <jygu@samsung.com>
7  *
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
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
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.
19  */
20
21 /**
22  * @ingroup             TelephonyAPI
23  * @addtogroup  COMMON_TAPI     COMMON
24  * @{
25  *
26  * @file TelDefines.h
27  * @brief  This file  provides #defines required for Telephony server and TAPI Client Library
28  */
29
30 #ifndef _TEL_DEFINES_H_
31 #define _TEL_DEFINES_H_
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 /* Machine independence */
38 typedef long TS_INT32;
39 typedef unsigned long TS_UINT32;
40
41 typedef int TS_INT;
42 typedef unsigned int TS_UINT;
43 typedef double TS_DOUBLE;
44
45 typedef int TS_BOOL;
46
47 /* Programming concept */
48 typedef unsigned char TS_BYTE;
49 typedef unsigned short TS_WORD;
50 typedef unsigned long TS_DWORD;
51 typedef unsigned char TS_UINT8;
52 typedef char TS_INT8;
53 typedef unsigned short TS_UINT16;
54 typedef unsigned long TS_ULONG;
55 typedef unsigned long long TS_UINT64;
56 typedef unsigned short TS_USHORT;
57
58 #ifndef TRUE
59 #define TRUE            1
60 #endif
61
62 #ifndef FALSE
63 #define FALSE           0
64 #endif
65
66 #ifndef DEPRECATED
67 #define DEPRECATED __attribute__((deprecated))
68 #endif
69
70 typedef int HObj;
71
72 #ifdef __cplusplus
73 }
74 #endif
75
76 #endif /* _TEL_DEFINES_H_ */
77
78 /**
79  *  @}
80  */