common: specialize for WITH_SEASTAR

* define a specialized version CephContext for WITH_SEASTAR. this
  CephContext exposes the minimal set of interface for ceph::mon::Client
* do not include unused stuff defined in common_init.cc, as it
  introduces more compile-time dependencies we need to prepare to
  appease the compiler.
* implement g_conf() for WITH_SEASTAR, so it returns
  ceph::common::local_conf() if WITH_SEASTAR is defined.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2018-09-03 17:15:16 +08:00
parent a6879a661f
commit 5368e7e0e5
5 changed files with 81 additions and 2 deletions