diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-05-17 17:05:47 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-05-17 17:05:47 +0000 |
commit | df7260b7a01d10f92849ca9a862a2a2d6ffac865 (patch) | |
tree | cf8e317702e4e76c55b40fe1f9ff3b2ce627d617 /network/connection.h | |
parent | 8bd6348b59d94d40ad4e85e3561cbbf2b7a02cdd (diff) |
Add LastConnection, DefaultConnection and ChangeDefaultConnection API methods and some minor fixes.
Diffstat (limited to 'network/connection.h')
-rw-r--r-- | network/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/network/connection.h b/network/connection.h index ff33789f..5561ee32 100644 --- a/network/connection.h +++ b/network/connection.h @@ -23,8 +23,10 @@ int connection_register(DBusConnection *conn, const char *path, bdaddr_t *src, bdaddr_t *dst, uint16_t id, const char *name, const char *desc); -int connection_store(DBusConnection *conn, const char *path); +int connection_store(DBusConnection *conn, const char *path, + gboolean default_path); int connection_remove_stored(DBusConnection *conn, const char *path); int connection_find_data(DBusConnection *conn, const char *path, const char *pattern); gboolean connection_has_pending(DBusConnection *conn, const char *path); +gboolean connection_is_connected(DBusConnection *conn, const char *path); |