From df7260b7a01d10f92849ca9a862a2a2d6ffac865 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 17 May 2007 17:05:47 +0000 Subject: Add LastConnection, DefaultConnection and ChangeDefaultConnection API methods and some minor fixes. --- network/connection.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'network/connection.h') 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); -- cgit