obexd: AuthorizePush: Support to return folder name for file storage
authorGuiting Shen <aarongt.shen@gmail.com>
Thu, 20 Apr 2023 09:55:57 +0000 (17:55 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:34 +0000 (16:11 +0530)
commit65580ef2d248418f1a7fc2c71781d5ca58687bb4
tree3b420ed0e1d72fcea29c6f6c177e2ca201cc87f9
parent259346914bdb42f7329d51dc58b3efd461bbad46
obexd: AuthorizePush: Support to return folder name for file storage

The obex agent usually returns the full path by getting the default
folder and filename from the Filename property of the transfer object
which is not convenient.

The patch helps that the obex agent can return the folder name suffixed
with '/' or new full path or even null which will use the default name
if new_name is NULL and the default folder if the new_folder is NULL in
opp_chkput().
doc/obex-agent-api.txt
obexd/src/manager.c