summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-06-25 06:16:35 (GMT)
committerSung-jae Park <nicesj.park@samsung.com>2013-06-25 06:18:51 (GMT)
commitc9a0af2a639168d8b3b594d43a1f598facb33b21 (patch)
tree68d8798c3055e3f89b951d805c3da41086d22d6c
parent72c6290e6a0d3d83adee95b1ee9000dd6176a5a5 (diff)
downloaddata-provider-master-c9a0af2a639168d8b3b594d43a1f598facb33b21.zip
data-provider-master-c9a0af2a639168d8b3b594d43a1f598facb33b21.tar.gz
data-provider-master-c9a0af2a639168d8b3b594d43a1f598facb33b21.tar.bz2
Update provider tag
for newly added smack labels. Change-Id: I23f84ce0582db68b64188274f2be2d6999eedee7
-rw-r--r--data-provider-master.manifest8
-rw-r--r--packaging/data-provider-master.spec1
-rw-r--r--src/server.c17
3 files changed, 18 insertions, 8 deletions
diff --git a/data-provider-master.manifest b/data-provider-master.manifest
index 1baa03a..1c8909c 100644
--- a/data-provider-master.manifest
+++ b/data-provider-master.manifest
@@ -7,6 +7,14 @@
<label name="data-provider-master::db" />
<label name="data-provider-master::data" />
<label name="data-provider-master::share" />
+ <label name="data-provider-master::shortcut" />
+ <label name="data-provider-master::shortcut.shortcut" />
+ <label name="data-provider-master::shortcut.livebox" />
+ <label name="data-provider-master::badge" />
+ <label name="data-provider-master::badge.client" />
+ <label name="data-provider-master::notification" />
+ <label name="data-provider-master::notification.client" />
+ <label name="data-provider-master::utility" />
</provide>
<request>
<smack request="sys-assert::core" type="rwxat" />
diff --git a/packaging/data-provider-master.spec b/packaging/data-provider-master.spec
index 389f7a1..db1b9c8 100644
--- a/packaging/data-provider-master.spec
+++ b/packaging/data-provider-master.spec
@@ -37,6 +37,7 @@ BuildRequires: pkgconfig(notification)
BuildRequires: pkgconfig(badge)
BuildRequires: pkgconfig(security-server)
Requires(post): sys-assert
+Requires(post): dbus
%description
Manage the 2nd stage livebox service provider and communicate with the viewer application.
diff --git a/src/server.c b/src/server.c
index c916263..c7cc98d 100644
--- a/src/server.c
+++ b/src/server.c
@@ -7073,14 +7073,6 @@ static struct method s_service_table[] = {
static struct method s_slave_table[] = {
{
- .cmd = "hello",
- .handler = slave_hello, /* slave_name, ret */
- },
- {
- .cmd = "ping",
- .handler = slave_ping, /* slave_name, ret */
- },
- {
.cmd = "call",
.handler = slave_call, /* slave_name, pkgname, filename, function, ret */
},
@@ -7144,6 +7136,15 @@ static struct method s_slave_table[] = {
},
{
+ .cmd = "hello",
+ .handler = slave_hello, /* slave_name, ret */
+ },
+ {
+ .cmd = "ping",
+ .handler = slave_ping, /* slave_name, ret */
+ },
+
+ {
.cmd = NULL,
.handler = NULL,
},