#ifndef COMMON_HELPERS_HPP #define COMMON_HELPERS_HPP #include "Common/Compat.h" #include "Common/Error.h" #include "Common/System.h" #include "Hypertable/Lib/ApacheLogParser.h" #include "Hypertable/Lib/Client.h" #include using namespace Hypertable; bool create_url(ClientPtr client, saga::url url, bool is_dir); bool url_exists(ClientPtr client, saga::url url); bool entry_exists(ClientPtr client, std::string node_name, std::string parent_id); std::string get_last(saga::url); bool create_new_node(ClientPtr client, int parent_id, bool is_dir); std::string get_node_id(ClientPtr client, std::string entry, std::string parent_id); std::string get_parent_id_of_entry(ClientPtr client, saga::url url); std::string get_full_url (saga::url url, saga::url entry); #endif // COMMON_HELPERS_HPP