diff options
author | Rodrigo Moya <rodrigo.moya@collabora.co.uk> | 2012-06-07 16:22:49 +0200 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2012-06-07 16:22:49 +0200 |
commit | 3ad1c641ca363e07db1c49a87a68c2d649974e05 (patch) | |
tree | 2aa82d17f700d087f5c20604c9dea080f87500c3 | |
parent | db3cd89b92b8c2f884851e0415a428570bf82653 (diff) | |
download | dbus-3ad1c641ca363e07db1c49a87a68c2d649974e05.tar.gz |
Remove AF_BUS definitions, use the ones from glibc
-rw-r--r-- | dbus/dbus-transport-afbus.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/dbus/dbus-transport-afbus.h b/dbus/dbus-transport-afbus.h index a0d6faa9..c94e32d1 100644 --- a/dbus/dbus-transport-afbus.h +++ b/dbus/dbus-transport-afbus.h @@ -24,32 +24,11 @@ #define DBUS_TRANSPORT_AFBUS_H #include <sys/socket.h> +#include <sys/bus.h> #include <dbus/dbus-transport-protected.h> DBUS_BEGIN_DECLS -/* FIXME: get this from glibc headers */ -#define AF_BUS 40 -#define SOL_BUS 280 - -/* setsockopt() operations */ -#define BUS_ADD_ADDR 1 -#define BUS_JOIN_BUS 2 - -/* 'protocol' to use in socket(AF_BUS, SOCK_SEQPACKET, protocol) */ -#define BUS_PROTO_NONE 0 -#define BUS_PROTO_DBUS 1 -#define BUS_PROTO_MAX 1 - -struct sockaddr_bus { - sa_family_t sbus_family; /* AF_BUS */ - struct { - unsigned long long s_addr; - } sbus_addr; /* bus address */ - char sbus_path[108]; /* pathname */ -}; -/* end FIXME */ - DBusTransport *_dbus_transport_new_for_afbus (int fd, const DBusString *server_guid, const DBusString *address); |