summaryrefslogtreecommitdiff
path: root/attrib/gatt.h
diff options
context:
space:
mode:
authorBruna Moreira <bruna.moreira@openbossa.org>2011-01-17 15:37:48 -0400
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-19 20:40:56 +0530
commite04efbaddf3d6a178dbbab9e5355dfecaa4da3ad (patch)
tree56875a22a5dd4b223cca67c4542a03fdbaaf4a15 /attrib/gatt.h
parentf1d07327bf0542c999132e3fc85f894c301c651e (diff)
downloadbluez-e04efbaddf3d6a178dbbab9e5355dfecaa4da3ad.tar.gz
Rename gatt_primary_t to more generic name
The gatt_primary_t typedef was renamed to gatt_cb_t because it will be used for primary and characteristic callbacks.
Diffstat (limited to 'attrib/gatt.h')
-rw-r--r--attrib/gatt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/attrib/gatt.h b/attrib/gatt.h
index 936c592b7..0bdac77c1 100644
--- a/attrib/gatt.h
+++ b/attrib/gatt.h
@@ -24,9 +24,9 @@
#define GATT_CID 4
-typedef void (*gatt_primary_t) (GSList *l, guint8 status, gpointer user_data);
+typedef void (*gatt_cb_t) (GSList *l, guint8 status, gpointer user_data);
-guint gatt_discover_primary(GAttrib *attrib, uuid_t *uuid, gatt_primary_t func,
+guint gatt_discover_primary(GAttrib *attrib, uuid_t *uuid, gatt_cb_t func,
gpointer user_data);
guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,