~linaro-maintainers/ubuntu/natty/bluez/overlay

« back to all changes in this revision

Viewing changes to attrib/gatt.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2011-01-27 18:00:26 UTC
  • mfrom: (1.1.27 upstream) (6.2.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110127180026-oe0x0o7ga7cet821
Tags: 4.87-1ubuntu1
* Merge from debian experimental.  Remaining changes: (LP: #708770)
  - debian/bluetooth-dbus.conf:
    + Allow access to the D-Bus resource "org.bluez" also for the "lp"
      group so that the "bluetooth" CUPS backend can access when it is
      run by CUPS for discovery of Bluetooth printers.
  - debian/bluez.bluetooth.default:
    + Drop.  Doesn't do anything now.
  - debian/bluez.preinst:
    + Cleanup /etc/default/bluetooth as it's not used anymore.
  - debian/control:
    + Add udev to build-depends. Allows pkg-config to query udev data
      directory variable.
  - debian/rules:
    + Don't build hid2hci anymore.  It's part of udev now.
    + Don't install bluez_agent.udev, doesn't work in Ubuntu.
    + Drop simple-patchsys.mk
  - debian/source/format: Use source format 3.0.
  - debian/source_bluez.py, debian/bluez.install:
    + Apport hook made by Baptiste Mille-Mathias.
  - debian/bluez.bluetooth.init:
    + Drop most calls in this script as now all it serves as
      is to workaround a problem with dbus not being ready early
      enough. Once dbus is started by an upstart service, this
      should be able to be converted to an upstart service too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#define GATT_CID 4
26
26
 
27
 
typedef void (*gatt_primary_t) (GSList *l, guint8 status, gpointer user_data);
 
27
typedef void (*gatt_cb_t) (GSList *l, guint8 status, gpointer user_data);
28
28
 
29
 
guint gatt_discover_primary(GAttrib *attrib, uuid_t *uuid, gatt_primary_t func,
 
29
guint gatt_discover_primary(GAttrib *attrib, uuid_t *uuid, gatt_cb_t func,
30
30
                                                        gpointer user_data);
31
31
 
32
32
guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
33
 
                                GAttribResultFunc func, gpointer user_data);
 
33
                                        gatt_cb_t func, gpointer user_data);
34
34
 
35
35
guint gatt_read_char(GAttrib *attrib, uint16_t handle, GAttribResultFunc func,
36
36
                                                        gpointer user_data);