diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-03 14:57:39 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-03 14:57:39 +0000 |
commit | 8852bd0dc33d8737e27f41a3f3c43ca56e49116a (patch) | |
tree | 2120c780b2a3d7a61c59d15e0be27a426af87f42 /hcid/agent.c | |
parent | c4d01c3cd114eccaa8ef79d8e082b345783ba9f1 (diff) |
Add basic skeleton for tracking agent IO capability
Diffstat (limited to 'hcid/agent.c')
-rw-r--r-- | hcid/agent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/agent.c b/hcid/agent.c index 90df291a..57109603 100644 --- a/hcid/agent.c +++ b/hcid/agent.c @@ -66,6 +66,7 @@ struct agent { char *addr; char *name; char *path; + char *capability; struct agent_request *request; int exited; guint timeout; @@ -201,6 +202,7 @@ static gboolean agent_timeout(struct agent *agent) struct agent *agent_create(struct adapter *adapter, const char *name, const char *path, const char *address, + const char *capability, agent_remove_cb cb, void *remove_cb_data) { struct agent *agent; @@ -213,6 +215,7 @@ struct agent *agent_create(struct adapter *adapter, const char *name, agent->adapter = adapter; agent->name = g_strdup(name); agent->path = g_strdup(path); + agent->capability = g_strdup(capability); agent->remove_cb = cb; agent->remove_cb_data = remove_cb_data; |