This patch introduce init.cc file which hosts all the initialization code. The benefits are 1) we can share initialization code with tests code. 2) all the service startup dependency / order code is in one single place instead of everywhere.
11 lines
252 B
C++
11 lines
252 B
C++
/*
|
|
* Copyright (C) 2015 Cloudius Systems, Ltd.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <seastar/core/sstring.hh>
|
|
#include <seastar/core/future.hh>
|
|
#include <db/config.hh>
|
|
|
|
future<> init_ms_fd_gossiper(sstring listen_address, db::seed_provider_type seed_provider);
|