summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-17 10:48:01 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-17 12:50:39 +0200
commitcab6bfb7ac40e0c5a39884ffa7620a2c278af314 (patch)
tree2b2d3059da349ac6ccb368de3eb9b4e9a521fac8 /src/agent.h
parentddceeef03eba855e03db3f781c2e3b7f0c06036c (diff)
downloadbluez-cab6bfb7ac40e0c5a39884ffa7620a2c278af314.tar.gz
core: Add agent_get function
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/agent.h b/src/agent.h
index 769cd8234..9e70aa8c2 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -42,6 +42,8 @@ struct agent *agent_create(struct btd_adapter *adapter, const char *name,
struct agent *agent_ref(struct agent *agent);
void agent_unref(struct agent *agent);
+struct agent *agent_get(const char *owner);
+
int agent_authorize_service(struct agent *agent, const char *path,
const char *uuid, agent_cb cb,
void *user_data, GDestroyNotify destroy);