summaryrefslogtreecommitdiff
path: root/attrib/gatt.h
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2014-01-11 00:47:17 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-11 18:56:03 +0200
commit2704b4c83bad1445ab237cad5de204d7166ae616 (patch)
treec319d97ce2990f248d81d54eb58928f168edd68c /attrib/gatt.h
parentd45c6df38652385c8ff5a9318a5eedfbefc64cf1 (diff)
downloadbluez-2704b4c83bad1445ab237cad5de204d7166ae616.tar.gz
attrib: Modify gatt_cb_t signature
Use standard C types instead of GLib ones (which are unnecessary here) and move the "status" parameter to the first position, so it is consistent with other callbacks.
Diffstat (limited to 'attrib/gatt.h')
-rw-r--r--attrib/gatt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/gatt.h b/attrib/gatt.h
index e5abd855e..0f113e7f1 100644
--- a/attrib/gatt.h
+++ b/attrib/gatt.h
@@ -53,7 +53,7 @@
#define GATT_CLIENT_CHARAC_CFG_NOTIF_BIT 0x0001
#define GATT_CLIENT_CHARAC_CFG_IND_BIT 0x0002
-typedef void (*gatt_cb_t) (GSList *l, guint8 status, gpointer user_data);
+typedef void (*gatt_cb_t) (uint8_t status, GSList *l, void *user_data);
struct gatt_primary {
char uuid[MAX_LEN_UUID_STR + 1];