summaryrefslogtreecommitdiff
path: root/dbind/dbind.h
diff options
context:
space:
mode:
authorMark Doffman <mdoff@silver-wind.(none)>2008-12-07 23:13:13 +0000
committerMark Doffman <mdoff@silver-wind.(none)>2008-12-07 23:13:13 +0000
commitb37f0b74994912dea13f33d63d3f1395554944b2 (patch)
tree39eab0fbdbfb6700f31b5519c0203651346492ef /dbind/dbind.h
parent23b0b74622ee824e48793967555cdb2a50af039d (diff)
downloadat-spi2-core-b37f0b74994912dea13f33d63d3f1395554944b2.tar.gz
2008-12-07 Mark Doffman <mark.doffman@codethink.co.uk>
* dbind/* droute/* Complete refactoring droute to add api for creating single objects and object classes. Minor refactor of dbind, adding interface for marshalling signals.
Diffstat (limited to 'dbind/dbind.h')
-rw-r--r--dbind/dbind.h48
1 files changed, 18 insertions, 30 deletions
diff --git a/dbind/dbind.h b/dbind/dbind.h
index 4e663594..0f6cec85 100644
--- a/dbind/dbind.h
+++ b/dbind/dbind.h
@@ -1,39 +1,27 @@
#ifndef _DBIND_H_
#define _DBIND_H_
-
#define DBUS_API_SUBJECT_TO_CHANGE
#include <dbus/dbus.h>
+#include <dbind/dbind-any.h>
-typedef struct _DBindContext DBindContext;
-
-DBindContext *dbind_create_context (DBusBusType type, DBusError *opt_error);
-void dbind_context_free (DBindContext *ctx);
-dbus_bool_t dbind_context_method_call (DBindContext *ctx,
- const char *bus_name,
- const char *path,
- const char *interface,
- const char *method,
- DBusError *opt_error,
- const char *arg_types,
- ...);
+dbus_bool_t
+dbind_method_call_reentrant (DBusConnection *cnx,
+ const char *bus_name,
+ const char *path,
+ const char *interface,
+ const char *method,
+ DBusError *opt_error,
+ const char *arg_types,
+ ...);
-/* dbus connection variants */
-dbus_bool_t dbind_connection_method_call (DBusConnection *cnx,
- const char *bus_name,
- const char *path,
- const char *interface,
- const char *method,
- DBusError *opt_error,
- const char *arg_types,
- ...);
-dbus_bool_t dbind_connection_method_call_va (DBusConnection *cnx,
- const char *bus_name,
- const char *path,
- const char *interface,
- const char *method,
- DBusError *opt_error,
- const char *arg_types,
- va_list args);
+dbus_bool_t
+dbind_emit_signal (DBusConnection *cnx,
+ const char *path,
+ const char *interface,
+ const char *signal,
+ DBusError *opt_error,
+ const char *arg_types,
+ ...);
#endif /* _DBIND_H_ */