Go to the documentation of this file.
25 #define _CGIUTILS_H_ 1
57 const std::string& s2);
70 const std::string& ss2,
110 CGICC_API std::string
148 const std::string& separator1,
149 const std::string& separator2);
161 const std::string& separators)
173 const std::string& s);
void writeLong(std::ostream &out, unsigned long l)
Write a long to an ostream.
char hexToChar(char first, char second)
Convert a hex-encoded character to its ASCII equivalent.
Platform and operating system specific macro definitions.
std::string extractBetween(const std::string &data, const std::string &separator1, const std::string &separator2)
Extract a substring contained within two separators.
std::string readString(std::istream &in)
Read a string from an istream.
std::string charToHex(char c)
Convert an ASCII character to its hexadecimal equivalent.
bool stringsAreEqual(const std::string &s1, const std::string &s2)
Compare two strings for equality, ignoring case.
std::string form_urlencode(const std::string &src)
Convert an ASCII string to a URL-safe string.
unsigned long readLong(std::istream &in)
Read a long from an istream.
std::string form_urldecode(const std::string &src)
Convert encoded characters in form data to normal ASCII.
void writeString(std::ostream &out, const std::string &s)
Write a string to an ostream.
The namespace containing the cgicc library.
GNU cgicc - A C++ class library for
writing CGI applications
Copyright © 1996 - 2004
Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front Cover Texts, and with no Back-Cover
Texts.
Documentation generated Tue Mar 24 2020 14:05:44 for cgicc by
doxygen 1.8.17