summaryrefslogtreecommitdiff
path: root/mesh/node.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-05-21 17:34:59 -0700
committerBrian Gix <brian.gix@intel.com>2020-05-22 13:45:53 -0700
commit7a5007178f95e2f3afa90aa7a57da10b1db7f47b (patch)
tree60ab72b49f2b8a4790acfab0e537f04799ee0fd7 /mesh/node.h
parent1b7d879555426178f79cd8493bd599b0689527a8 (diff)
downloadbluez-7a5007178f95e2f3afa90aa7a57da10b1db7f47b.tar.gz
mesh: Clean up Attach() method call
This consolidates error return form one place: off a callback with unsuccessful status.
Diffstat (limited to 'mesh/node.h')
-rw-r--r--mesh/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/node.h b/mesh/node.h
index ca5d60b6b..290681e28 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -81,7 +81,7 @@ const char *node_get_app_path(struct mesh_node *node);
bool node_add_pending_local(struct mesh_node *node, void *info);
void node_attach_io_all(struct mesh_io *io);
void node_attach_io(struct mesh_node *node, struct mesh_io *io);
-int node_attach(const char *app_root, const char *sender, uint64_t token,
+void node_attach(const char *app_root, const char *sender, uint64_t token,
node_ready_func_t cb, void *user_data);
void node_build_attach_reply(struct mesh_node *node,
struct l_dbus_message *reply);