git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lower prio for subservice quickzap actions (needed for working seek actions)
[enigma2.git]
/
lib
/
network
/
http_file.h
diff --git
a/lib/network/http_file.h
b/lib/network/http_file.h
index 109dc07e6487d0b7085accbe38dbfb595f645002..a9c86c5c907230ba9fb158c5fcb4f54ec81c0b88 100644
(file)
--- a/
lib/network/http_file.h
+++ b/
lib/network/http_file.h
@@
-5,6
+5,8
@@
class eHTTPFile: public eHTTPDataSource
{
class eHTTPFile: public eHTTPDataSource
{
+ DECLARE_REF(eHTTPFile);
+private:
int fd, size;
const char *mime;
int method;
int fd, size;
const char *mime;
int method;
@@
-16,8
+18,10
@@
public:
void haveData(void *data, int len);
};
void haveData(void *data, int len);
};
-class eHTTPFilePathResolver: public
e
HTTPPathResolver
+class eHTTPFilePathResolver: public
i
HTTPPathResolver
{
{
+ DECLARE_REF(eHTTPFilePathResolver);
+public:
struct eHTTPFilePath
{
std::string path;
struct eHTTPFilePath
{
std::string path;
@@
-30,7
+34,7
@@
class eHTTPFilePathResolver: public eHTTPPathResolver
ePtrList<eHTTPFilePath> translate;
public:
eHTTPFilePathResolver();
ePtrList<eHTTPFilePath> translate;
public:
eHTTPFilePathResolver();
-
eHTTPDataSource *getDataSource(
std::string request, std::string path, eHTTPConnection *conn);
+
RESULT getDataSource(eHTTPDataSourcePtr &ptr,
std::string request, std::string path, eHTTPConnection *conn);
void addTranslation(std::string path, std::string root, int auth);
};
void addTranslation(std::string path, std::string root, int auth);
};