1 // Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef PKG_INITDB_OPTION_CHECKER_H_
6 #define PKG_INITDB_OPTION_CHECKER_H_
16 ro_only_(false), rw_only_(false), keep_db_(false),
17 recover_db_(false), uid_(-1) {}
19 bool Init(int argc, char* argv[]);
27 std::vector<std::string> GetParams(
28 bool is_preload, const std::string& pkgid);
31 bool ValidateOptions();
41 #endif // PKG_INITDB_OPTION_CHECKER_H_