From: QI Fuli <qi.fuli(a)fujitsu.com>
This patch set is to rename monitor.conf to ndctl.conf, and make it a
global ndctl configuration file that all ndctl commands can refer to.
As this patch set has been pending until now, I would like to know if
current idea works or not. If yes, I will finish the documents and test.
Signed-off-by: QI Fuli <qi.fuli(a)fujitsu.com>
QI Fuli (3):
ndctl, ccan: import ciniparser
ndctl, util: add parse-configs helper
ndctl, rename monitor.conf to ndctl.conf
Makefile.am | 8 +-
ccan/ciniparser/ciniparser.c | 480 +++++++++++++++++++++++++++++
ccan/ciniparser/ciniparser.h | 262 ++++++++++++++++
ccan/ciniparser/dictionary.c | 266 ++++++++++++++++
ccan/ciniparser/dictionary.h | 166 ++++++++++
configure.ac | 8 +-
ndctl/Makefile.am | 9 +-
ndctl/monitor.c | 127 ++------
ndctl/{monitor.conf => ndctl.conf} | 16 +-
util/parse-configs.c | 47 +++
util/parse-configs.h | 26 ++
11 files changed, 1294 insertions(+), 121 deletions(-)
create mode 100644 ccan/ciniparser/ciniparser.c
create mode 100644 ccan/ciniparser/ciniparser.h
create mode 100644 ccan/ciniparser/dictionary.c
create mode 100644 ccan/ciniparser/dictionary.h
rename ndctl/{monitor.conf => ndctl.conf} (82%)
create mode 100644 util/parse-configs.c
create mode 100644 util/parse-configs.h
--
2.30.2
Show replies by thread