5 url &operator=(
const url &u);
7 bool getCurrentProperties();
9 off64_t getCurrentPosition()
const;
10 off64_t setPositionRelativeToBeginning(off64_t offset)
const;
11 off64_t setPositionRelativeToCurrent(off64_t offset)
const;
12 off64_t setPositionRelativeToEnd(off64_t offset)
const;
15 ssize_t getContents(
unsigned char *buffer,
size_t buffersize);
17 static char *getContents(
const char *name);
18 static ssize_t getContents(
const char *name,
19 unsigned char *buffer,
23 bool lowLevelOpen(
const char *name, int32_t flags,
24 mode_t perms,
bool useperms);
25 int32_t lowLevelClose();
27 ssize_t lowLevelRead(
void *buffer, ssize_t size);
31 bool httpOpen(
const char *urlname,
const char *userpwd);
32 bool getChunkSize(
bool bof);
35 static size_t curlReadData(
void *buffer,
size_t size,
36 size_t nmemb,
void *userp);
38 static bool initUrl();
39 static void shutDownUrl();