SYMBOL INDEX (215 symbols across 44 files) FILE: candy-cli/src/argparse.h function namespace (line 74) | namespace argparse { function chars_format (line 179) | enum class chars_format { scientific = 0xf1, fixed = 0xf2, hex = 0xf4, b... function throw (line 267) | throw std::invalid_argument{"pattern '" + std::string(s) + "' not identi... function throw (line 326) | throw std::invalid_argument{"pattern '" + s + "' not found"}; function throw (line 338) | throw std::invalid_argument{"pattern '" + s + "' does not match to the e... function throw (line 341) | throw std::range_error{"'" + s + "' not representable"}; function throw (line 349) | throw std::invalid_argument{"chars_format::general does not parse hexflo... function throw (line 352) | throw std::invalid_argument{"chars_format::general does not parse binflo... function throw (line 368) | throw std::invalid_argument{"chars_format::hex parses hexfloat"}; function throw (line 371) | throw std::invalid_argument{"chars_format::hex does not parse binfloat"}; function throw (line 387) | throw std::invalid_argument{"chars_format::binary does not parse hexfloa... function throw (line 390) | throw std::invalid_argument{"chars_format::binary parses binfloat"}; function throw (line 400) | throw std::invalid_argument{"chars_format::scientific does not parse hex... function throw (line 403) | throw std::invalid_argument{"chars_format::scientific does not parse bin... function throw (line 406) | throw std::invalid_argument{"chars_format::scientific requires exponent ... function throw (line 422) | throw std::invalid_argument{"chars_format::fixed does not parse hexfloat"}; function throw (line 425) | throw std::invalid_argument{"chars_format::fixed does not parse binfloat"}; function throw (line 428) | throw std::invalid_argument{"chars_format::fixed does not parse exponent... function string (line 441) | string join(StrIt first, StrIt last, const std::string &separator) { function get_levenshtein_distance (line 469) | size_t get_levenshtein_distance(const StringType &s1, const StringType &... function string (line 490) | string get_most_similar_string(const std::map &m... function else (line 558) | else if constexpr (details::can_invoke_to_string::value) { function string (line 593) | string const>, Argument &> { function else (line 714) | else if constexpr (is_one_of(Shape, 'u') && details::standard_unsigned_i... function else (line 716) | else if constexpr (is_one_of(Shape, 'b') && details::standard_unsigned_i... function else (line 718) | else if constexpr (is_one_of(Shape, 'o') && details::standard_unsigned_i... function else (line 720) | else if constexpr (is_one_of(Shape, 'x', 'X') && details::standard_unsig... function else (line 722) | else if constexpr (is_one_of(Shape, 'a', 'A') && std::is_floating_point_... function else (line 724) | else if constexpr (is_one_of(Shape, 'e', 'E') && std::is_floating_point_... function else (line 726) | else if constexpr (is_one_of(Shape, 'f', 'F') && std::is_floating_point_... function else (line 728) | else if constexpr (is_one_of(Shape, 'g', 'G') && std::is_floating_point_... function throw (line 808) | throw std::runtime_error(std::string{"Invalid default value "} + m_defau... function throw (line 826) | throw std::runtime_error(std::string{"Invalid argument "} + details::rep... type ActionApply (line 879) | struct ActionApply { function pos (line 1033) | auto pos = std::string::size_type{} function prev (line 1034) | auto prev = std::string::size_type{} function else (line 1070) | else if (argument.m_is_required) { function is_positional (line 1110) | static bool is_positional(std::string_view name, std::string_view prefix... function contains (line 1138) | bool contains(std::size_t value) const { function is_optional (line 1361) | static bool is_optional(std::string_view name, std::string_view prefix_c... function set_usage_newline_counter (line 1416) | void set_usage_newline_counter(int i) { function set_group_idx (line 1420) | void set_group_idx(std::size_t i) { function NArgsRange (line 1438) | NArgsRange m_num_args_range{1, 1}; function class (line 1451) | class ArgumentParser { function explicit (line 1499) | explicit operator bool() const { function class (line 1523) | class MutuallyExclusiveGroup { function deal_with_options_of_group (line 1893) | const auto deal_with_options_of_group = [&](std::size_t group_idx) { function index_argument (line 2326) | void index_argument(argument_it it) { FILE: candy-cli/src/config.cc function saveTunAddress (line 177) | int saveTunAddress(const std::string &name, const std::string &cidr) { function loadTunAddress (line 194) | std::string loadTunAddress(const std::string &name) { function virtualMacHelper (line 207) | std::string virtualMacHelper(std::string name = "") { function initVirtualMac (line 230) | std::string initVirtualMac() { function virtualMac (line 247) | std::string virtualMac(const std::string &name) { function starts_with (line 263) | bool starts_with(const std::string &str, const std::string &prefix) { function storageDirectory (line 268) | std::string storageDirectory(std::string subdir) { function storageDirectory (line 272) | std::string storageDirectory(std::string subdir) { FILE: candy-cli/src/config.h type arguments (line 9) | struct arguments { FILE: candy-cli/src/main.cc function main (line 6) | int main(int argc, char *argv[]) { FILE: candy-service/src/main.cc class BaseJSONHandler (line 31) | class BaseJSONHandler : public Poco::Net::HTTPRequestHandler { method readRequest (line 33) | Poco::JSON::Object::Ptr readRequest(Poco::Net::HTTPServerRequest &requ... method sendResponse (line 39) | void sendResponse(Poco::Net::HTTPServerResponse &response, const Poco:... class RunHandler (line 46) | class RunHandler : public BaseJSONHandler { method handleRequest (line 48) | void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::H... class StatusHandler (line 73) | class StatusHandler : public BaseJSONHandler { method handleRequest (line 75) | void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::H... class ShutdownHandler (line 101) | class ShutdownHandler : public BaseJSONHandler { method handleRequest (line 103) | void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::H... class JSONRequestHandlerFactory (line 127) | class JSONRequestHandlerFactory : public Poco::Net::HTTPRequestHandlerFa... class CandyServiceApp (line 144) | class CandyServiceApp : public Poco::Util::ServerApplication { method initialize (line 152) | void initialize(Poco::Util::Application &self) override { method defineOptions (line 157) | void defineOptions(Poco::Util::OptionSet &options) override { method handleHelp (line 182) | void handleHelp(const std::string &name, const std::string &value) { method handleBind (line 188) | void handleBind(const std::string &name, const std::string &value) { method handleLogDir (line 204) | void handleLogDir(const std::string &name, const std::string &dir) { method handleLogLevel (line 208) | void handleLogLevel(const std::string &name, const std::string &level) { method displayHelp (line 212) | void displayHelp() { method main (line 218) | int main(const std::vector &args) override { function main (line 277) | int main(int argc, char **argv) { FILE: candy/include/candy/client.h function namespace (line 9) | namespace candy { FILE: candy/include/candy/common.h function namespace (line 7) | namespace candy { FILE: candy/include/candy/server.h function namespace (line 8) | namespace candy { FILE: candy/src/candy/client.cc type candy (line 14) | namespace candy { type client (line 15) | namespace client { class Instance (line 20) | class Instance { method is_running (line 22) | bool is_running() { method exit (line 26) | void exit() { method status (line 33) | Poco::JSON::Object status() { method create_client (line 41) | std::shared_ptr create_client() { function try_create_instance (line 55) | std::optional> try_create_instance(const s... function try_erase_instance (line 67) | bool try_erase_instance(const std::string &id) { function run (line 74) | bool run(const std::string &id, const Poco::JSON::Object &config) { function shutdown (line 108) | bool shutdown(const std::string &id) { function status (line 121) | std::optional status(const std::string &id) { FILE: candy/src/candy/server.cc type candy (line 6) | namespace candy { type server (line 7) | namespace server { function run (line 14) | bool run(const Poco::JSON::Object &config) { function shutdown (line 27) | bool shutdown() { FILE: candy/src/core/client.cc type candy (line 7) | namespace candy { function Msg (line 9) | Msg MsgQueue::read() { function IP4 (line 49) | IP4 Client::address() { function MsgQueue (line 53) | MsgQueue &Client::getTunMsgQueue() { function MsgQueue (line 57) | MsgQueue &Client::getPeerMsgQueue() { function MsgQueue (line 61) | MsgQueue &Client::getWsMsgQueue() { FILE: candy/src/core/client.h function namespace (line 15) | namespace candy { FILE: candy/src/core/common.cc type candy (line 6) | namespace candy { function version (line 8) | std::string version() { function create_vmac (line 12) | std::string create_vmac() { FILE: candy/src/core/message.cc type candy (line 4) | namespace candy { function Msg (line 16) | Msg &Msg::operator=(Msg &&packet) { FILE: candy/src/core/message.h function MsgKind (line 11) | enum class MsgKind { FILE: candy/src/core/net.cc type candy (line 7) | namespace candy { function IP4 (line 13) | IP4 IP4::operator=(const std::string &ip) { function IP4 (line 28) | IP4 IP4::operator|(IP4 another) const { function IP4 (line 35) | IP4 IP4::operator^(IP4 another) const { function IP4 (line 42) | IP4 IP4::operator~() const { function IP4 (line 54) | IP4 IP4::operator&(IP4 another) const { function IP4 (line 61) | IP4 IP4::next() const { function IP4 (line 119) | IP4 &Address::Host() { function IP4 (line 123) | IP4 &Address::Mask() { function IP4 (line 127) | IP4 Address::Net() { function Address (line 131) | Address Address::Next() { FILE: candy/src/core/net.h function namespace (line 11) | namespace candy { function class (line 48) | class __attribute__((packed)) IP4 { function namespace (line 123) | namespace std { FILE: candy/src/core/server.cc type candy (line 4) | namespace candy { FILE: candy/src/core/server.h function namespace (line 9) | namespace candy { FILE: candy/src/peer/manager.cc type candy (line 16) | namespace candy { function IP4 (line 196) | IP4 PeerManager::getTunIp() { function Client (line 642) | Client &PeerManager::getClient() { FILE: candy/src/peer/manager.h function namespace (line 19) | namespace candy { type PeerRouteEntry (line 53) | struct PeerRouteEntry { FILE: candy/src/peer/message.cc type candy (line 5) | namespace candy { type PeerMsg (line 7) | namespace PeerMsg { FILE: candy/src/peer/message.h function namespace (line 9) | namespace candy { FILE: candy/src/peer/peer.cc function isLocalNetwork (line 20) | bool isLocalNetwork(const SocketAddress &addr) { type candy (line 34) | namespace candy { function PeerManager (line 56) | PeerManager &Peer::getManager() { FILE: candy/src/peer/peer.h function PeerState (line 27) | enum class PeerState { FILE: candy/src/tun/linux.cc type candy (line 18) | namespace candy { class LinuxTun (line 20) | class LinuxTun { method setName (line 22) | int setName(const std::string &name) { method setIP (line 27) | int setIP(IP4 ip) { method IP4 (line 32) | IP4 getIP() { method setMask (line 36) | int setMask(IP4 mask) { method setMTU (line 41) | int setMTU(int mtu) { method up (line 47) | int up() { method down (line 136) | int down() { method read (line 141) | int read(std::string &buffer) { method write (line 163) | int write(const std::string &buffer) { method setSysRtTable (line 167) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 249) | IP4 Tun::getIP() { type candy (line 212) | namespace candy { class LinuxTun (line 20) | class LinuxTun { method setName (line 22) | int setName(const std::string &name) { method setIP (line 27) | int setIP(IP4 ip) { method IP4 (line 32) | IP4 getIP() { method setMask (line 36) | int setMask(IP4 mask) { method setMTU (line 41) | int setMTU(int mtu) { method up (line 47) | int up() { method down (line 136) | int down() { method read (line 141) | int read(std::string &buffer) { method write (line 163) | int write(const std::string &buffer) { method setSysRtTable (line 167) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 249) | IP4 Tun::getIP() { FILE: candy/src/tun/macos.cc type candy (line 27) | namespace candy { class MacTun (line 29) | class MacTun { method setName (line 31) | int setName(const std::string &name) { method setIP (line 36) | int setIP(IP4 ip) { method IP4 (line 41) | IP4 getIP() { method setMask (line 45) | int setMask(IP4 mask) { method setMTU (line 50) | int setMTU(int mtu) { method up (line 55) | int up() { method down (line 178) | int down() { method read (line 183) | int read(std::string &buffer) { method write (line 212) | int write(const std::string &buffer) { method setSysRtTable (line 221) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 305) | IP4 Tun::getIP() { type candy (line 269) | namespace candy { class MacTun (line 29) | class MacTun { method setName (line 31) | int setName(const std::string &name) { method setIP (line 36) | int setIP(IP4 ip) { method IP4 (line 41) | IP4 getIP() { method setMask (line 45) | int setMask(IP4 mask) { method setMTU (line 50) | int setMTU(int mtu) { method up (line 55) | int up() { method down (line 178) | int down() { method read (line 183) | int read(std::string &buffer) { method write (line 212) | int write(const std::string &buffer) { method setSysRtTable (line 221) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 305) | IP4 Tun::getIP() { FILE: candy/src/tun/tun.cc type candy (line 10) | namespace candy { function Client (line 164) | Client &Tun::getClient() { FILE: candy/src/tun/tun.h function namespace (line 13) | namespace candy { FILE: candy/src/tun/unknown.cc type candy (line 8) | namespace candy { FILE: candy/src/tun/windows.cc type candy (line 32) | namespace candy { class Holder (line 49) | class Holder { method Ok (line 51) | static bool Ok() { method Holder (line 57) | Holder() { class WindowsTun (line 91) | class WindowsTun { method setName (line 93) | int setName(const std::string &name) { method setIP (line 98) | int setIP(IP4 ip) { method IP4 (line 103) | IP4 getIP() { method setPrefix (line 107) | int setPrefix(uint32_t prefix) { method setMTU (line 112) | int setMTU(int mtu) { method up (line 117) | int up() { method down (line 172) | int down() { method read (line 189) | int read(std::string &buffer) { method write (line 207) | int write(const std::string &buffer) { method setSysRtTable (line 223) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 302) | IP4 Tun::getIP() { type candy (line 266) | namespace candy { class Holder (line 49) | class Holder { method Ok (line 51) | static bool Ok() { method Holder (line 57) | Holder() { class WindowsTun (line 91) | class WindowsTun { method setName (line 93) | int setName(const std::string &name) { method setIP (line 98) | int setIP(IP4 ip) { method IP4 (line 103) | IP4 getIP() { method setPrefix (line 107) | int setPrefix(uint32_t prefix) { method setMTU (line 112) | int setMTU(int mtu) { method up (line 117) | int up() { method down (line 172) | int down() { method read (line 189) | int read(std::string &buffer) { method write (line 207) | int write(const std::string &buffer) { method setSysRtTable (line 223) | int setSysRtTable(IP4 dst, IP4 mask, IP4 nexthop) { function IP4 (line 302) | IP4 Tun::getIP() { FILE: candy/src/utils/atomic.h function namespace (line 7) | namespace candy { FILE: candy/src/utils/codecvt.cc type candy (line 6) | namespace candy { function UTF16ToUTF8 (line 8) | std::string UTF16ToUTF8(const std::wstring &utf16Str) { function UTF8ToUTF16 (line 25) | std::wstring UTF8ToUTF16(const std::string &utf8Str) { FILE: candy/src/utils/codecvt.h function namespace (line 7) | namespace candy { FILE: candy/src/utils/random.cc function randomHex (line 9) | int randomHex() { type candy (line 17) | namespace candy { function randomUint32 (line 19) | uint32_t randomUint32() { function randomHexString (line 26) | std::string randomHexString(int length) { FILE: candy/src/utils/random.h function namespace (line 8) | namespace candy { FILE: candy/src/utils/time.cc type candy (line 15) | namespace candy { function unixTime (line 17) | int64_t unixTime() { function bootTime (line 22) | int64_t bootTime() { function getCurrentTimeWithMillis (line 28) | std::string getCurrentTimeWithMillis() { FILE: candy/src/utils/time.h function namespace (line 8) | namespace candy { FILE: candy/src/websocket/client.cc type candy (line 19) | namespace candy { function Client (line 421) | Client &WebSocketClient::getClient() { FILE: candy/src/websocket/client.h function namespace (line 13) | namespace candy { FILE: candy/src/websocket/message.cc type candy (line 5) | namespace candy { type WsMsg (line 6) | namespace WsMsg { FILE: candy/src/websocket/message.h function namespace (line 8) | namespace candy { FILE: candy/src/websocket/server.cc class HTTPRequestHandler (line 31) | class HTTPRequestHandler : public Poco::Net::HTTPRequestHandler { method HTTPRequestHandler (line 33) | HTTPRequestHandler(WebSocketHandler wsHandler) : wsHandler(wsHandler) {} method handleRequest (line 34) | void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::H... class HTTPRequestHandlerFactory (line 51) | class HTTPRequestHandlerFactory : public Poco::Net::HTTPRequestHandlerFa... method HTTPRequestHandlerFactory (line 53) | HTTPRequestHandlerFactory(WebSocketHandler wsHandler) : wsHandler(wsHa... type candy (line 65) | namespace candy { FILE: candy/src/websocket/server.h function namespace (line 13) | namespace candy {