2 * tel-plugin-socket-communicator
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __MODULE_REQ_H__
22 #define __MODULE_REQ_H__
28 #include <glib-object.h>
34 #include <communicator.h>
36 #include <user_request.h>
40 #include "tapi_common.h"
48 sipc_server_t* sk_server;
51 gboolean scomm_service_reqeust_sim(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
52 tapi_service_command_e cmd, gchar *data, void **outparam);
53 gboolean scomm_service_response_sim(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
54 unsigned int data_len, const void *data);
55 gboolean scomm_service_notification_sim(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
56 unsigned int data_len, const void *data);
58 gboolean scomm_service_reqeust_sat(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
59 tapi_service_command_e cmd, gchar *data, void **outparam);
60 gboolean scomm_service_response_sat(Communicator *comm, UserRequest *ur,
61 enum tcore_response_command command, unsigned int data_len, const void *data);
62 gboolean scomm_service_notification_sat(Communicator *comm, CoreObject *source,
63 enum tcore_notification_command command, unsigned int data_len, const void *data);
65 gboolean scomm_service_reqeust_sap(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
66 tapi_service_command_e cmd, gchar *data, void **outparam);
67 gboolean scomm_service_response_sap(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
68 unsigned int data_len, const void *data);
69 gboolean scomm_service_notification_sap(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
70 unsigned int data_len, const void *data);
72 gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
73 tapi_service_command_e cmd, gchar *data, void **outparam);
74 gboolean scomm_service_response_pb(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
75 unsigned int data_len, const void *data);
76 gboolean scomm_service_notification_pb(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
77 unsigned int data_len, const void *data);
79 gboolean scomm_service_reqeust_call(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
80 tapi_service_command_e cmd, gchar *data, void **outparam);
81 gboolean scomm_service_response_call(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
82 unsigned int data_len, const void *data);
83 gboolean scomm_service_notification_call(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
84 unsigned int data_len, const void *data);
86 gboolean scomm_service_request_network(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
87 tapi_service_command_e cmd, gchar *data, void **outparam);
88 gboolean scomm_service_response_network(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
89 unsigned int data_len, const void *data);
90 gboolean scomm_service_notification_network(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
91 unsigned int data_len, const void *data);
93 gboolean scomm_service_request_ps(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
94 tapi_service_command_e cmd, gchar *data, void **outparam);
95 gboolean scomm_service_response_ps(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
96 unsigned int data_len, const void *data);
97 gboolean scomm_service_notification_ps(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
98 unsigned int data_len, const void *data);
100 gboolean scomm_service_request_sms(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
101 tapi_service_command_e cmd, gchar *data, void **outparam);
102 gboolean scomm_service_response_sms(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
103 unsigned int data_len, const void *data);
104 gboolean scomm_service_notification_sms(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
105 unsigned int data_len, const void *data);
107 gboolean scomm_service_request_custom(unsigned int ch_id, Communicator *c, TcorePlugin *plugin,
108 tapi_service_command_e cmd, gchar *data, void **outparam);
109 gboolean scomm_service_response_custom(Communicator *comm, UserRequest *ur, enum tcore_response_command command,
110 unsigned int data_len, const void *data);
111 gboolean scomm_service_notification_custom(Communicator *comm, CoreObject *source, enum tcore_notification_command command,
112 unsigned int data_len, const void *data);