diff options
author | schmirl <schmirl> | 2008-10-14 11:05:46 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2008-10-14 11:05:46 +0000 |
commit | 86c82c138122a9ed282a6496c8e20ceceda3ef16 (patch) | |
tree | ab406c1d655af306a5e8460fe5f31af28775b713 /server/connectionHTTP.h | |
parent | 992444cb67e700619293d3642f95f40b18d1b62e (diff) | |
download | vdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.gz vdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.bz2 |
- added HTTP authentication (#475)
Modified Files:
HISTORY README streamdev-server.c server/connection.h
server/connectionHTTP.c server/connectionHTTP.h
server/server.c server/server.h
Diffstat (limited to 'server/connectionHTTP.h')
-rw-r--r-- | server/connectionHTTP.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/connectionHTTP.h b/server/connectionHTTP.h index a3558ad..0548959 100644 --- a/server/connectionHTTP.h +++ b/server/connectionHTTP.h @@ -1,5 +1,5 @@ /* - * $Id: connectionHTTP.h,v 1.5 2008/03/28 15:11:40 schmirl Exp $ + * $Id: connectionHTTP.h,v 1.6 2008/10/14 11:05:48 schmirl Exp $ */ #ifndef VDR_STREAMDEV_SERVERS_CONNECTIONHTTP_H @@ -30,6 +30,7 @@ private: std::string m_Request; std::string m_Host; + std::string m_Authorization; //std::map<std::string,std::string> m_Headers; TODO: later? eHTTPStatus m_Status; eHTTPJob m_Job; @@ -52,6 +53,8 @@ public: virtual void Attach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Attach(); } virtual void Detach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Detach(); } + virtual bool CanAuthenticate(void); + virtual bool Command(char *Cmd); bool CmdGET(const std::string &Opts); |