OSDN Git Service

obexd: Add obc_session_get_folder function
authorChristian Fetzer <christian.fetzer@bmw-carit.de>
Fri, 30 Aug 2013 12:45:11 +0000 (14:45 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 2 Sep 2013 10:13:16 +0000 (13:13 +0300)
commit02d6828e614fe9d2f7ae7f0c6aefc176a96861bb
tree6acb97fba7a921f5bde97ad6a2dbfa3c86aebfc8
parent6c1dfe9b6d45b0f1b5022896e917b0f8ddb8abba
obexd: Add obc_session_get_folder function

This patch extends client session by the tracking of the current folder.
The current folder can be accessed by obc_session_get_current_folder.

This allows drivers to add a folder property to browsed objects so that
the application doesn't have to keep track of the folder an object
belongs to.
obexd/client/session.c
obexd/client/session.h