47 static string rfc822_date(
const time_t t ) ;
49 static string entity(
char c ) ;
65 static string www2id(
const string &in,
66 const string &escape =
"%",
67 const string &except =
"" ) ;
68 static string unhexstring(
string s ) ;
71 static string lowercase(
const string &s ) ;
74 static string unescape(
const string &s ) ;
79 bool follow_sym_links ) ;
92 static string id2xml(
string in,
93 const string ¬_allowed =
"><&'\"" ) ;
96 static string xml2id(
string in ) ;
99 static void explode(
char delim,
const string &str,
100 list<string> &values ) ;
103 static string implode(
const list<string> &values,
119 static string assemblePath(
const string &firstPart,
const string &secondPart,
bool addLeadingSlash =
false);
121 static bool endsWith(std::string
const &fullString, std::string
const &ending);
126 #endif // E_BESUtil_h static string lowercase(const string &s)
static void conditional_timeout_cancel()
static string www2id(const string &in, const string &escape="%", const string &except="")
static void removeLeadingAndTrailingBlanks(string &key)
static string assemblePath(const string &firstPart, const string &secondPart, bool addLeadingSlash=false)
Assemble path fragments making sure that they are separated by a single '/' character.
static string implode(const list< string > &values, char delim)
static string xml2id(string in)
static void set_mime_html(ostream &strm)
Generate an HTTP 1.0 response header for a html document.
static void explode(char delim, const string &str, list< string > &values)
static void set_mime_text(ostream &strm)
Generate an HTTP 1.0 response header for a text document.
static void url_explode(const string &url_str, BESUtil::url &url_parts)
Given a url, break the url into its different parts.
static string id2xml(string in, const string ¬_allowed="><&'\)
static bool endsWith(std::string const &fullString, std::string const &ending)
static char * fastpidconverter(char *buf, int base)
static string unescape(const string &s)
static void check_path(const string &path, const string &root, bool follow_sym_links)