tizen 2.3.1 release
[framework/telephony/libtcore.git] / include / tcore.h
1 /*
2  * libtcore
3  *
4  * Copyright (c) 2012 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 #ifndef __TCORE_H__
22 #define __TCORE_H__
23
24 #include <sys/types.h>
25 #include <stdint.h>
26
27 #include <log.h>
28
29 #include <type/common.h>
30
31 #include <type/request.h>
32 #include <type/response.h>
33 #include <type/notification.h>
34
35 #include <type/ps.h>
36 #include <type/network.h>
37 #include <type/modem.h>
38 #include <type/sim.h>
39 #include <type/sat.h>
40 #include <type/sms.h>
41 #include <type/call.h>
42 #include <type/ss.h>
43 #include <type/sap.h>
44 #include <type/phonebook.h>
45 #include <type/gps.h>
46 #include <util.h>
47
48 typedef struct tcore_object_type CoreObject;
49 typedef struct tcore_hal_type TcoreHal;
50 typedef struct tcore_plugin_type TcorePlugin;
51 typedef struct tcore_modem_type TcoreModem;
52 typedef struct tcore_queue_type TcoreQueue;
53 typedef struct tcore_pending_type TcorePending;
54 typedef struct tcore_communicator_type Communicator;
55 typedef struct tcore_user_request_type UserRequest;
56 typedef struct tcore_server_type Server;
57 typedef struct tcore_storage_type Storage;
58 typedef struct tcore_at_type TcoreAT;
59 typedef struct tcore_udev_type TcoreUdev;
60
61 enum tcore_hook_return {
62         TCORE_HOOK_RETURN_STOP_PROPAGATION = FALSE,
63         TCORE_HOOK_RETURN_CONTINUE = TRUE
64 };
65
66 #endif