]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/ConfUtils: expose parse_buffer()
authorKefu Chai <kchai@redhat.com>
Fri, 7 Aug 2020 08:49:58 +0000 (16:49 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Aug 2020 14:51:17 +0000 (22:51 +0800)
commit4b553f92538dc3dbc7e16c6b8aede50bd4dace4a
tree19150d714039bfb359176aea49172e1f0432674e
parent27036004302c29735f40e029242fd14b7d1c8338
common/ConfUtils: expose parse_buffer()

so it can be used by crimson for reading settings from a conf file.
crimson reads file with async read. since we already have a specialized
ConfigProxy for crimson, it'd be simpler to expose the shared facility
from ConfUtils instead of specializing it in ConfUtils.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/ConfUtils.cc
src/common/ConfUtils.h