equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * MP3/MPlayer plugin to VDR (C++) |
2 * MP3/MPlayer plugin to VDR (C++) |
3 * |
3 * |
4 * (C) 2001-2006 Stefan Huelswitt <s.huelswitt@gmx.de> |
4 * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de> |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or |
6 * This code is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License |
7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 |
8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. |
9 * of the License, or (at your option) any later version. |
112 bool ParseURLFile(const char *name, bool log); |
112 bool ParseURLFile(const char *name, bool log); |
113 bool SendRequest(void); |
113 bool SendRequest(void); |
114 bool GetHTTPResponse(void); |
114 bool GetHTTPResponse(void); |
115 bool ParseHeader(const char *buff, const char *name, char **value); |
115 bool ParseHeader(const char *buff, const char *name, char **value); |
116 bool ParseMetaData(void); |
116 bool ParseMetaData(void); |
117 char *ParseMetaString(const char *buff, const char *name, char **value); |
117 char *ParseMetaString(char *buff, const char *name, char **value); |
118 public: |
118 public: |
119 cNetStream(const char *Filename); |
119 cNetStream(const char *Filename); |
120 virtual ~cNetStream(); |
120 virtual ~cNetStream(); |
121 virtual bool Open(bool log=true); |
121 virtual bool Open(bool log=true); |
122 virtual void Close(void); |
122 virtual void Close(void); |