[PATCH obexd 0/9] GObexApparam API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

GObexApparam can encode/decode OBEX application parameter in a generic
way, only the tags are expecific to each profile.

Some remarks:

  - Tag data is stored in network order/big endian because its type is
    not known.
  - Internally it uses a GHashTable to store the values which doesn't
    guarantee the order of the tag will be exact the same as inserted.

Luiz Augusto von Dentz (9):
  gobex: Introduce GObexApparam API
  gobex: Add unit tests for GObexApparam API
  gobex: Integrate GObexApparam with GObexHeader
  gobex: Add unit test for encoding/decoding apparam headers
  gobex: Add debug option to apparam
  client: Port PBAP module to use GObexApparam
  PBAP: Make use of GObexApparam API
  MAP: Make use of GObexApparam API
  core: Remove map_ap.c

 Makefile.am               |  18 +-
 client/pbap.c             | 181 +++++-------------
 gobex/gobex-apparam.c     | 355 +++++++++++++++++++++++++++++++++++
 gobex/gobex-apparam.h     |  59 ++++++
 gobex/gobex-debug.h       |   7 +-
 gobex/gobex-header.c      |  25 +++
 gobex/gobex-header.h      |   3 +
 gobex/gobex.c             |  11 +-
 plugins/mas.c             |  81 ++++----
 plugins/pbap.c            | 180 ++++--------------
 plugins/phonebook.h       |   2 +-
 src/map_ap.c              | 466 ----------------------------------------------
 src/map_ap.h              |  63 -------
 unit/test-gobex-apparam.c | 422 +++++++++++++++++++++++++++++++++++++++++
 unit/test-gobex-header.c  |  46 +++++
 15 files changed, 1058 insertions(+), 861 deletions(-)
 create mode 100644 gobex/gobex-apparam.c
 create mode 100644 gobex/gobex-apparam.h
 delete mode 100644 src/map_ap.c
 create mode 100644 unit/test-gobex-apparam.c

-- 
1.7.11.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux