diff options
author | phintuka <phintuka> | 2007-01-01 23:41:02 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-01-01 23:41:02 +0000 |
commit | c6db6a91a14cd07358492f53ed1e1c66ebbbde62 (patch) | |
tree | 6ec63ec0b20726d4f2965e4d3d359af5fe97c7de | |
parent | 122bc6c510f91e5f93559a08068044e4b8632693 (diff) | |
download | xineliboutput-c6db6a91a14cd07358492f53ed1e1c66ebbbde62.tar.gz xineliboutput-c6db6a91a14cd07358492f53ed1e1c66ebbbde62.tar.bz2 |
cHeader::IntValue
-rw-r--r-- | tools/http.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/http.h b/tools/http.h index 105239f8..aaf172d6 100644 --- a/tools/http.h +++ b/tools/http.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: http.h,v 1.1 2007-01-01 00:14:38 phintuka Exp $ + * $Id: http.h,v 1.2 2007-01-01 23:41:02 phintuka Exp $ * */ @@ -46,9 +46,11 @@ class cHeader : public cListObject const cString& Name(void) { return m_Name; } const cString& Value(void) { return m_Value; } + int IntValue(void) { return *m_Value?atoi(m_Value):-1; } void SetValue(const char *Value) { m_Value = Value; } }; + // // cHttpReq // @@ -79,11 +81,16 @@ class cHttpReq void Reset(void); }; + // // cConnState // -class cConnState : public cHttpReq {}; +class cConnState : public cHttpReq +{ + public: +}; + // // cHttpStreamer |