Files
scylladb/api/commitlog.hh
Amnon Heiman c6723d2f61 Adding the commitlog API implementation
This adds the implementation of the commitlog API.
Current implementation contains:
/commitlog/segments/active
That returns a list of the active file names, and
/commitlog/segments/archiving
Which always return an empty list as we archiving is not supported at
the moment

The doc file is under:
/api-doc/commitlog

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-19 15:27:59 +03:00

17 lines
241 B
C++

/*
* Copyright 2015 Cloudius Systems
*/
#ifndef API_COMMITLOG_SERVICE_HH_
#define API_COMMITLOG_SERVICE_HH_
#include "api.hh"
namespace api {
void set_commitlog(http_context& ctx, routes& r);
}
#endif /* API_COMMITLOG_SERVICE_HH_ */