Mercurial > audlegacy-plugins
diff src/bluetooth/agent.c @ 2847:671cdfc2d62d
Basic pairing interface
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Mon, 28 Jul 2008 21:48:39 +0300 |
parents | 3d7f01edb388 |
children | dc22e3d2e56e |
line wrap: on
line diff
--- a/src/bluetooth/agent.c Sun Jul 27 22:15:41 2008 +0300 +++ b/src/bluetooth/agent.c Mon Jul 28 21:48:39 2008 +0300 @@ -24,6 +24,7 @@ #include <glib/gprintf.h> #include "bluetooth.h" +#include "agent.h" #include "gui.h" #define PASSKEY_AGENT_PATH "/org/bluez/audacious_passkey" @@ -42,7 +43,7 @@ static char* passkey; static GList *adapter_list = NULL; DBusGProxy *pair_obj = NULL; -static gint bonding_finish=0; + static DBusGConnection *connection; struct adapter_data { @@ -1073,6 +1074,7 @@ void run_agents() { + bonding_finish =0; setup_agents(bus); //to add the bounding signals // register_agents();