diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-05 11:50:35 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-05 11:50:35 +0000 |
commit | 94f7643c52193c905edaff767c2e9a31b9102a73 (patch) | |
tree | a180e64bba234feecf4496c5a7246dd35bbc264d /hcid/agent.c | |
parent | 41e8f6dc730096d303b71175adc508a66126ea06 (diff) |
Add support for fetching IO capability from an agent
Diffstat (limited to 'hcid/agent.c')
-rw-r--r-- | hcid/agent.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/agent.c b/hcid/agent.c index 2335f09c..5706ea94 100644 --- a/hcid/agent.c +++ b/hcid/agent.c @@ -518,6 +518,11 @@ failed: return -1; } +uint8_t agent_get_io_capability(struct agent *agent) +{ + return agent->capability; +} + gboolean agent_matches(struct agent *agent, const char *name, const char *path) { if (g_str_equal(agent->name, name) && g_str_equal(agent->path, path)) |