summaryrefslogtreecommitdiff
path: root/src/Cookie.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
commit4db349c1f32b4a313d12d114137432441633d00a (patch)
tree417451971e264834312cfd8339c79930d680a5d1 /src/Cookie.h
parent338e8aca09331d3e7fa4e1e8e1f9d10260986772 (diff)
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80 columns. * src * test
Diffstat (limited to 'src/Cookie.h')
-rw-r--r--src/Cookie.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Cookie.h b/src/Cookie.h
index c355bfba..e88ebd25 100644
--- a/src/Cookie.h
+++ b/src/Cookie.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
@@ -57,21 +57,21 @@ public:
* If expires = 0 is given, then the cookie becomes session cookie.
*/
Cookie(const std::string& name,
- const std::string& value,
- time_t expires,
- const std::string& path,
- const std::string& domain,
- bool secure);
+ const std::string& value,
+ time_t expires,
+ const std::string& path,
+ const std::string& domain,
+ bool secure);
/*
* Creates session cookie. This is equivalent to
* Cookie(name, value, 0, path, domain, secure);
*/
Cookie(const std::string& name,
- const std::string& value,
- const std::string& path,
- const std::string& domain,
- bool secure);
+ const std::string& value,
+ const std::string& path,
+ const std::string& domain,
+ bool secure);
Cookie();
@@ -82,10 +82,10 @@ public:
bool good() const;
bool match(const std::string& requestHost, const std::string& requestPath,
- time_t date, bool secure) const;
+ time_t date, bool secure) const;
bool validate(const std::string& requestHost,
- const std::string& requestPath) const;
+ const std::string& requestPath) const;
bool operator==(const Cookie& cookie) const;