linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd v2 0/4] client: parameter naming convention
@ 2012-03-07 14:50 Mikel Astiz
  2012-03-07 14:50 ` [PATCH obexd v2 1/4] client: add obc_transfer_set_filename Mikel Astiz
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Mikel Astiz @ 2012-03-07 14:50 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

These patches review the naming convention in transfer.h and session.h, in order to avoid misleading use of the terms "name", "filename" and "targetname".

This second proposal splits the first patch into two patches, and avoids a bug that would have been introduced: the reply of the agent needs to be handled with care, since depending on the operation type (put or get) the reply of the agent should overwrite one field or the other.

Mikel Astiz (4):
  client: add obc_transfer_set_filename
  client: fix naming convention in transfer api
  client: refactor naming convention in session api
  client: simplify obc_session_pull

 client/session.c  |   55 ++++++++++++++++++----------------------------------
 client/session.h  |   12 +++++-----
 client/transfer.c |   14 +++++++++---
 client/transfer.h |    2 +
 4 files changed, 37 insertions(+), 46 deletions(-)

-- 
1.7.6.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-09  0:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 14:50 [PATCH obexd v2 0/4] client: parameter naming convention Mikel Astiz
2012-03-07 14:50 ` [PATCH obexd v2 1/4] client: add obc_transfer_set_filename Mikel Astiz
2012-03-07 14:50 ` [PATCH obexd v2 2/4] client: fix naming convention in transfer api Mikel Astiz
2012-03-07 14:50 ` [PATCH obexd v2 3/4] client: refactor naming convention in session api Mikel Astiz
2012-03-07 14:50 ` [PATCH obexd v2 4/4] client: simplify obc_session_pull Mikel Astiz
2012-03-08 10:28 ` [PATCH obexd v2 0/4] client: parameter naming convention Luiz Augusto von Dentz
2012-03-09  0:01 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).