diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-07 20:09:25 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-07 20:09:25 +0000 |
commit | 22ec945f109d9d1e21a8cfbc6e2dec3dd4b88c8e (patch) | |
tree | 7cb9831d6506134c65767c640db55c52d70cd6f2 /serial | |
parent | a1a65a6821bddc4d3e076b8600e4bd497a64d162 (diff) |
Move some D-Bus helpers around
Diffstat (limited to 'serial')
-rw-r--r-- | serial/manager.c | 2 | ||||
-rw-r--r-- | serial/manager.h | 2 | ||||
-rw-r--r-- | serial/port.c | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/serial/manager.c b/serial/manager.c index cad09e7e..f097b330 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -51,6 +51,8 @@ #include <glib.h> #include <gdbus.h> +#include "../hcid/dbus-common.h" + #include "logging.h" #include "textfile.h" diff --git a/serial/manager.h b/serial/manager.h index 8a870101..b25c2686 100644 --- a/serial/manager.h +++ b/serial/manager.h @@ -24,8 +24,6 @@ #define SERIAL_MANAGER_PATH "/org/bluez/serial" #define SERIAL_MANAGER_INTERFACE "org.bluez.serial.Manager" -#define MAX_PATH_LENGTH 32 - int serial_manager_init(DBusConnection *conn); void serial_manager_exit(void); int rfcomm_release(int16_t id); diff --git a/serial/port.c b/serial/port.c index 522f7c01..f0563244 100644 --- a/serial/port.c +++ b/serial/port.c @@ -38,10 +38,13 @@ #include <bluetooth/bluetooth.h> #include <bluetooth/rfcomm.h> +#include <bluetooth/sdp.h> #include <glib.h> #include <gdbus.h> +#include "../hcid/dbus-common.h" + #include "logging.h" #include "error.h" |