upload tizen1.0 source
[profile/ivi/tel-plugin-dbus_tapi.git] / include / modules.h
1 /*
2  * tel-plugin-dbus-tapi
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 __MODULES_H__
22 #define __MODULES_H__
23
24 __BEGIN_DECLS
25
26 void dbus_request_call(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
27                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
28                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
29 void dbus_request_cdmadata(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
30                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
31                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
32 void dbus_request_cfg(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
33                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
34                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
35 void dbus_request_gprs(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
36                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
37                 GArray** out_param3, GArray** out_param4, GError** error);
38 void dbus_request_gps(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
39                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
40                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
41 void dbus_request_misc(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
42                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
43                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
44 void dbus_request_network(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
45                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
46                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
47 void dbus_request_omadm(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
48                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
49                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
50 void dbus_request_power(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
51                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
52                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
53 void dbus_request_productivity(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
54                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
55                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
56 void dbus_request_sat(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function,
57                 GArray* in_param1, GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1,
58                 GArray** out_param2, GArray** out_param3, GArray** out_param4, GError** error);
59 void dbus_request_sim(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
60                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
61                 GArray** out_param3, GArray** out_param4, GError** error);
62 void dbus_request_sms(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
63                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
64                 GArray** out_param3, GArray** out_param4, GError** error);
65 void dbus_request_sound(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
66                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
67                 GArray** out_param3, GArray** out_param4, GError** error);
68 void dbus_request_ss(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
69                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
70                 GArray** out_param3, GArray** out_param4, GError** error);
71 void dbus_request_util(struct custom_data *ctx, TcorePlugin *plugin, int tapi_service_function, GArray* in_param1,
72                 GArray* in_param2, GArray* in_param3, GArray* in_param4, GArray** out_param1, GArray** out_param2,
73                 GArray** out_param3, GArray** out_param4, GError** error);
74
75 TReturn dbus_response_call(struct custom_data *ctx, UserRequest *ur, const char *appname,
76                 enum tcore_response_command command, unsigned int data_len, const void *data);
77 TReturn dbus_response_cdmadata(struct custom_data *ctx, UserRequest *ur, const char *appname,
78                 enum tcore_response_command command, unsigned int data_len, const void *data);
79 TReturn dbus_response_cfg(struct custom_data *ctx, UserRequest *ur, const char *appname,
80                 enum tcore_response_command command, unsigned int data_len, const void *data);
81 TReturn dbus_response_gprs(struct custom_data *ctx, UserRequest *ur, const char *appname,
82                 enum tcore_response_command command, unsigned int data_len, const void *data);
83 TReturn dbus_response_gps(struct custom_data *ctx, UserRequest *ur, const char *appname,
84                 enum tcore_response_command command, unsigned int data_len, const void *data);
85 TReturn dbus_response_misc(struct custom_data *ctx, UserRequest *ur, const char *appname,
86                 enum tcore_response_command command, unsigned int data_len, const void *data);
87 TReturn dbus_response_network(struct custom_data *ctx, UserRequest *ur, const char *appname,
88                 enum tcore_response_command command, unsigned int data_len, const void *data);
89 TReturn dbus_response_omadm(struct custom_data *ctx, UserRequest *ur, const char *appname,
90                 enum tcore_response_command command, unsigned int data_len, const void *data);
91 TReturn dbus_response_power(struct custom_data *ctx, UserRequest *ur, const char *appname,
92                 enum tcore_response_command command, unsigned int data_len, const void *data);
93 TReturn dbus_response_productivity(struct custom_data *ctx, UserRequest *ur, const char *appname,
94                 enum tcore_response_command command, unsigned int data_len, const void *data);
95 TReturn dbus_response_sat(struct custom_data *ctx, UserRequest *ur, const char *appname,
96                 enum tcore_response_command command, unsigned int data_len, const void *data);
97 TReturn dbus_response_sim(struct custom_data *ctx, UserRequest *ur, const char *appname,
98                 enum tcore_response_command command, unsigned int data_len, const void *data);
99 TReturn dbus_response_sms(struct custom_data *ctx, UserRequest *ur, const char *appname,
100                 enum tcore_response_command command, unsigned int data_len, const void *data);
101 TReturn dbus_response_sound(struct custom_data *ctx, UserRequest *ur, const char *appname,
102                 enum tcore_response_command command, unsigned int data_len, const void *data);
103 TReturn dbus_response_ss(struct custom_data *ctx, UserRequest *ur, const char *appname,
104                 enum tcore_response_command command, unsigned int data_len, const void *data);
105 TReturn dbus_response_util(struct custom_data *ctx, UserRequest *ur, const char *appname,
106                 enum tcore_response_command command, unsigned int data_len, const void *data);
107
108 TReturn dbus_notification_call(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
109                 unsigned int data_len, const void *data);
110 TReturn dbus_notification_cdmadata(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
111                 unsigned int data_len, const void *data);
112 TReturn dbus_notification_cfg(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
113                 unsigned int data_len, const void *data);
114 TReturn dbus_notification_gprs(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
115                 unsigned int data_len, const void *data);
116 TReturn dbus_notification_gps(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
117                 unsigned int data_len, const void *data);
118 TReturn dbus_notification_misc(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
119                 unsigned int data_len, const void *data);
120 TReturn dbus_notification_network(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
121                 unsigned int data_len, const void *data);
122 TReturn dbus_notification_omadm(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
123                 unsigned int data_len, const void *data);
124 TReturn dbus_notification_power(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
125                 unsigned int data_len, const void *data);
126 TReturn dbus_notification_productivity(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
127                 unsigned int data_len, const void *data);
128 TReturn dbus_notification_sat(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
129                 unsigned int data_len, const void *data);
130 TReturn dbus_notification_sim(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
131                 unsigned int data_len, const void *data);
132 TReturn dbus_notification_sms(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
133                 unsigned int data_len, const void *data);
134 TReturn dbus_notification_sound(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
135                 unsigned int data_len, const void *data);
136 TReturn dbus_notification_ss(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
137                 unsigned int data_len, const void *data);
138 TReturn dbus_notification_util(struct custom_data *ctx, CoreObject *source, enum tcore_notification_command command,
139                 unsigned int data_len, const void *data);
140
141 __END_DECLS
142
143 #endif