Commit: 0ec1f880a296a53a20eb26051950e75c803eb1f9
Parent: ff3324bb92400cb82c599c9072a0f2086da3d7ea
Author: Slawomir Bochenski <lkslawek@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:37
Tree: ef1b0d68f0e5f39bdb21ec7c54fa2828c16a1179

obexd: Add messages backend initialization and finalization This adds functions for initializing and freeing resources used by message storage access backend and example implementation in the dummy (or rather - filesystem) backend. Dummy backend uses $MAP_ROOT (if set) and falls back to $HOME/map-messages for its message storage. This directory should at least contain basic folders required by the MAP specification. It represents the root as seen from the perspective of MAP client. You can prepare it as follows: $ mkdir -p "$MAP_ROOT/telecom/msg/inbox" $ mkdir "$MAP_ROOT/telecom/msg/sent" $ mkdir "$MAP_ROOT/telecom/msg/deleted" $ mkdir "$MAP_ROOT/telecom/msg/outbox"

Diffstat

M obexd/plugins/mas.c | 7 +++++++
M obexd/plugins/messages-dummy.c | 22 ++++++++++++++++++++++

2 files changed, 29 insertions(+), 0 deletions(-)

View Full Diff | Patch