Return-Path: From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH v3 00/10] Move adapter config file to ini-file format Date: Wed, 10 Oct 2012 16:10:09 +0200 Message-Id: <1349878219-14359-1-git-send-email-frederic.danis@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Adapter saved configuration will be saved to /var/lib/bluetooth//settings in ini-file format for BlueZ 5. If this file does not exist, we try to convert legacy config file to it. Access to variables during run-time is performed in adapter structure which is populated by loading saved configuration during initialization. First 6 patches remove access to config file from run-time. Last patch move to ini-file format style (load, save and convert). Frédéric Danis (10): doc: Add settings storage documentation adapter: Read name in storage at init adaptername: Retrieve config name from adapter adapter: Read device class in storage at init adapter: Move pairable read to load_config() adapter: Read pairable timeout in storage at init adapter: Read discoverable timeout in storage at init adapter: Read mode in storage at init adapter: Move saved config to ini-file format TODO: Add entry to remove storage convertion function TODO | 6 + doc/settings-storage.txt | 102 ++++++++++++++ plugins/adaptername.c | 9 +- src/adapter.c | 330 +++++++++++++++++++++++++++++++++++----------- src/adapter.h | 1 + 5 files changed, 370 insertions(+), 78 deletions(-) create mode 100644 doc/settings-storage.txt -- 1.7.9.5