2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FNet_ConnectivityIpcMessages.h
19 * @brief This is the header file for the Connectivity service daemon's IPC messages.
21 * This header file contains the declarations of the IPC messages for the Connectivity service daemon.
24 #include <ipc/ipc_message_macros.h>
25 #include <FIo_IpcCommonParamTraits.h>
26 #include <FIo_IpcMessageStart.h>
27 #include "FNet_ConnectivityIpcParamTraits.h"
30 #ifndef NET_CONNECTIVITY_IPC_SERVER_NAME
31 #define NET_CONNECTIVITY_IPC_SERVER_NAME "osp.net.ipcserver.connectivity"
34 #define IPC_MESSAGE_START ConnectivityNetServiceMsgStart
36 // Client -> Server (sync)
37 IPC_SYNC_MESSAGE_CONTROL1_2(ConnectivityNetServiceMsg_getAppNetAccountId, Tizen::Base::String /* ProfileName */, int /* NetAccountId */, unsigned long /* result */)
38 IPC_SYNC_MESSAGE_CONTROL1_2(ConnectivityNetServiceMsg_setNetAccountId, int /* NetAccountId*/, int /* NetAccountId */, unsigned long /* result */)
39 IPC_SYNC_MESSAGE_CONTROL3_1(ConnectivityNetServiceMsg_updateSystemNetAccount, Tizen::Base::String /* ProfileName */, Tizen::Net::NetAccountInfo /* NetAccountInfo */, int /* NetBearerType*/, unsigned long /* result */)
40 IPC_SYNC_MESSAGE_CONTROL2_1(ConnectivityNetServiceMsg_resetNetStatistics, int /* bearerType */, int /* statType */, unsigned long /* result */)
41 IPC_SYNC_MESSAGE_CONTROL1_1(ConnectivityNetServiceMsg_resetAllNetStatistics, int /* bearerType */, unsigned long /* result */)