diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
| commit | 032c7c28083e17bdcfd763b3cf81447b06a07978 (patch) | |
| tree | e5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/HttpRequest.h | |
| parent | ca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff) | |
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/HttpRequest.h')
| -rw-r--r-- | src/HttpRequest.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/HttpRequest.h b/src/HttpRequest.h index 20f4915a..a47b10a3 100644 --- a/src/HttpRequest.h +++ b/src/HttpRequest.h @@ -56,7 +56,7 @@ private: SharedHandle<Segment> segment; - int64_t entityLength; + uint64_t entityLength; bool authEnabled; @@ -66,7 +66,7 @@ private: std::string userAgent; - std::string getHostText(const std::string& host, int32_t port) const; + std::string getHostText(const std::string& host, uint16_t port) const; std::string getProxyAuthString() const; @@ -82,19 +82,19 @@ public: /** * entityLength is used in isRangeSatisfied() method. */ - void setEntityLength(int64_t entityLength) + void setEntityLength(uint64_t entityLength) { this->entityLength = entityLength; } - int64_t getEntityLength() const + uint64_t getEntityLength() const { return entityLength; } std::string getHost() const; - int32_t getPort() const; + uint16_t getPort() const; std::string getMethod() const; @@ -118,9 +118,9 @@ public: SharedHandle<Request> getRequest() const; - int64_t getStartByte() const; + off_t getStartByte() const; - int64_t getEndByte() const; + off_t getEndByte() const; /** * Returns string representation of http request. |
