chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dbus-common: Add helper method to handle no-reply messages
[elogind.git]
/
src
/
shared
/
dbus-common.h
diff --git
a/src/shared/dbus-common.h
b/src/shared/dbus-common.h
index 394ab4cb60787b68112de5658fd704790abc5d6f..3b7ae16934546193af550307249407dc6d2ce24c 100644
(file)
--- a/
src/shared/dbus-common.h
+++ b/
src/shared/dbus-common.h
@@
-22,6
+22,7
@@
***/
#include <dbus/dbus.h>
***/
#include <dbus/dbus.h>
+#include <inttypes.h>
#ifndef DBUS_ERROR_UNKNOWN_OBJECT
#define DBUS_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"
#ifndef DBUS_ERROR_UNKNOWN_OBJECT
#define DBUS_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"
@@
-112,6
+113,10
@@
typedef struct BusBoundProperties {
const void *const base; /* base pointer to which the offset must be added to reach data */
} BusBoundProperties;
const void *const base; /* base pointer to which the offset must be added to reach data */
} BusBoundProperties;
+dbus_bool_t bus_maybe_send_reply (DBusConnection *c,
+ DBusMessage *message,
+ DBusMessage *reply);
+
DBusHandlerResult bus_send_error_reply(
DBusConnection *c,
DBusMessage *message,
DBusHandlerResult bus_send_error_reply(
DBusConnection *c,
DBusMessage *message,