/* * This file is part of smolbote. It's copyrighted by the contributors recorded * in the version control history of the file, available from its original * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote * * SPDX-License-Identifier: GPL-3.0 */ #ifndef SMOLBOTE_BUILTINS_H #define SMOLBOTE_BUILTINS_H #include typedef std::function::const_iterator, std::vector::const_iterator)> subcommand_func; typedef std::unordered_map command_map; namespace builtins { int version(); int build(); int configuration(const std::string &progname, std::vector::const_iterator beginargs, std::vector::const_iterator endargs); int bookmarks(const std::string &progname, std::vector::const_iterator beginargs, std::vector::const_iterator endargs); } #endif