diff options
-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 |