summaryrefslogtreecommitdiff
path: root/src/dbus-abi.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-04 20:59:19 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-04 20:59:19 +0100
commitbe3fe0da9995e59d32b4eb52368a012c0c18de85 (patch)
treec579508d3feb9a666fc18bd42bfda4a95b493308 /src/dbus-abi.h
parent70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6 (diff)
a bit further towards something useful. currently linking problems
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/dbus-abi.h')
-rw-r--r--src/dbus-abi.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/dbus-abi.h b/src/dbus-abi.h
deleted file mode 100644
index ed406f1..0000000
--- a/src/dbus-abi.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/*
2 * DBUS ABI
3 *
4 * The following is all dbus information needed in order to compile
5 * a hald-addon.
6 */
7
8/* Structure declarations */
9struct DBusMessage;
10
11/* Allocate 32 bytes for the error structure. */
12struct DBusError {
13 char bytes[32];
14};
15
16/* Define DBus arguments types */
17const int DBUS_TYPE_INVALID;
18const int DBUS_TYPE_INT32 = 'i';
19const int DBUS_TYPE_ARRAY = 'a';
20
21/* Define DBus handler results */
22typedef enum {
23 DBUS_HANDLER_RESULT_HANDLED,
24 DBUS_HANDLER_RESULT_NOT_YET_HANDLED,
25 DBUS_HANDLER_RESULT_NEED_MEMORY
26} DBusHandlerResult;
27
28/* Function declarations */
29struct DBusMessage *
30dbus_message_new_error(struct DBusMessage *reply_to, const char *error_name,
31 const char *error_message);
32struct DBusMessage *
33dbus_message_new_method_return(struct DBusMessage *method_call);
34