summaryrefslogtreecommitdiff
path: root/attrib/gatttool.h
diff options
context:
space:
mode:
authorSheldon Demario <sheldon.demario@openbossa.org>2011-02-17 11:18:40 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-02-17 15:48:43 -0300
commiteb4e1d6d4b8405a324bb68e9dc28d108746837ef (patch)
tree7f840f3b45fe43d3bf8cbb731bcbb0baed91d956 /attrib/gatttool.h
parentb03aa22d2d2aca385840645cc32d57dc4bb90ebe (diff)
downloadbluez-eb4e1d6d4b8405a324bb68e9dc28d108746837ef.tar.gz
Move do_connect() to a common file between interactive.c and gatttool.c
Since do_connect() is used in both interactive.c and gatttool.c files, it was moved to a new file that should hold all common functions
Diffstat (limited to 'attrib/gatttool.h')
-rw-r--r--attrib/gatttool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/attrib/gatttool.h b/attrib/gatttool.h
index 223733063..1fc6a5968 100644
--- a/attrib/gatttool.h
+++ b/attrib/gatttool.h
@@ -22,4 +22,6 @@
*/
int interactive(gchar *dst, gboolean le);
-GIOChannel *do_connect(gchar *dst, gboolean le, BtIOConnect connect_cb);
+GIOChannel *gatt_connect(const gchar *src, const gchar *dst,
+ const gchar *sec_level, int psm, int mtu, gboolean le,
+ BtIOConnect connect_cb);