b141ee533c997e0ce2173526077dc9ff453b9ae0
[platform/framework/web/data-provider-master.git] / include / slave_rpc.h
1 /*
2  * Copyright 2013  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 extern int slave_rpc_async_request(struct slave_node *slave, const char *pkgname, struct packet *packet, void (*ret_cb)(struct slave_node *slave, const struct packet *packet, void *data), void *data, int urgent);
18 extern int slave_rpc_request_only(struct slave_node *slave, const char *pkgname, struct packet *packet, int urgent);
19
20 extern int slave_rpc_update_handle(struct slave_node *slave, int handle);
21 extern int slave_rpc_ping(struct slave_node *slave);
22 extern void slave_rpc_request_update(const char *pkgname, const char *id, const char *cluster, const char *category, const char *content);
23 extern int slave_rpc_handle(struct slave_node *slave);
24 extern int slave_rpc_ping_freeze(struct slave_node *slave);
25 extern int slave_rpc_ping_thaw(struct slave_node *slave);
26
27 extern int slave_rpc_init(struct slave_node *slave);
28 extern int slave_rpc_fini(struct slave_node *slave);
29
30 /* End of a file */