summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-convenience.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-03 18:13:48 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-03 18:14:50 +0100
commit0461f8cdc1d7b4afee2f2ff40fcaa3c7e26c662c (patch)
tree86005fcf71c45208e919676235d80905d3d12f26 /src/libsystemd-bus/bus-convenience.c
parent6c045c0b4c49c88a1d3b9360c05efa5084796d2d (diff)
bus: internalize a lot of protocol definitions
We shouldn export what isn't necessary or useful to clients, so let's add the protocol definitions we only need internally into a private header.
Diffstat (limited to 'src/libsystemd-bus/bus-convenience.c')
-rw-r--r--src/libsystemd-bus/bus-convenience.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsystemd-bus/bus-convenience.c b/src/libsystemd-bus/bus-convenience.c
index d4c1929ff7..3964960fab 100644
--- a/src/libsystemd-bus/bus-convenience.c
+++ b/src/libsystemd-bus/bus-convenience.c
@@ -103,7 +103,7 @@ _public_ int sd_bus_reply_method_return(
assert_return(call->bus && BUS_IS_OPEN(call->bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(call->bus), -ECHILD);
- if (call->header->flags & SD_BUS_MESSAGE_NO_REPLY_EXPECTED)
+ if (call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
return 0;
r = sd_bus_message_new_method_return(call, &m);
@@ -137,7 +137,7 @@ _public_ int sd_bus_reply_method_error(
assert_return(call->bus && BUS_IS_OPEN(call->bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(call->bus), -ECHILD);
- if (call->header->flags & SD_BUS_MESSAGE_NO_REPLY_EXPECTED)
+ if (call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
return 0;
r = sd_bus_message_new_method_error(call, e, &m);
@@ -162,7 +162,7 @@ _public_ int sd_bus_reply_method_errorf(
assert_return(call->bus && BUS_IS_OPEN(call->bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(call->bus), -ECHILD);
- if (call->header->flags & SD_BUS_MESSAGE_NO_REPLY_EXPECTED)
+ if (call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
return 0;
va_start(ap, format);
@@ -185,7 +185,7 @@ _public_ int sd_bus_reply_method_errno(
assert_return(call->bus && BUS_IS_OPEN(call->bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(call->bus), -ECHILD);
- if (call->header->flags & SD_BUS_MESSAGE_NO_REPLY_EXPECTED)
+ if (call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
return 0;
if (sd_bus_error_is_set(p))
@@ -211,7 +211,7 @@ _public_ int sd_bus_reply_method_errnof(
assert_return(call->bus && BUS_IS_OPEN(call->bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(call->bus), -ECHILD);
- if (call->header->flags & SD_BUS_MESSAGE_NO_REPLY_EXPECTED)
+ if (call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
return 0;
va_start(ap, format);