diff options
author | Mike Gorse <mgorse@boston.site> | 2008-06-23 18:50:15 -0400 |
---|---|---|
committer | Mike Gorse <mgorse@boston.site> | 2008-06-23 18:50:15 -0400 |
commit | 28d2e961940e5b242e008f23bf9b2d68ab555cfa (patch) | |
tree | 1c1e12de0d5469bab5c4f1c4bb3883318507fcd0 /dbind/dbind.h | |
parent | 6e37a9ea253974a02f72cb65f88007aed0b3c77a (diff) | |
download | at-spi2-core-28d2e961940e5b242e008f23bf9b2d68ab555cfa.tar.gz |
Added dbind
Diffstat (limited to 'dbind/dbind.h')
-rw-r--r-- | dbind/dbind.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dbind/dbind.h b/dbind/dbind.h new file mode 100644 index 00000000..4e663594 --- /dev/null +++ b/dbind/dbind.h @@ -0,0 +1,39 @@ +#ifndef _DBIND_H_ +#define _DBIND_H_ + + +#define DBUS_API_SUBJECT_TO_CHANGE +#include <dbus/dbus.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 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); + +#endif /* _DBIND_H_ */ |