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,
22 void enableOpenTimings();
23 void disableOpenTimings();
24 void getOpenTimings(uint64_t *build,
31 bool lowLevelOpen(
const char *name, int32_t flags,
32 mode_t perms,
bool useperms);
33 int32_t lowLevelClose();
35 ssize_t lowLevelRead(
void *buffer, ssize_t size);
39 bool httpOpen(
const char *urlname,
char *userpwd);
40 bool curlOpen(
const char *urlname,
char *userpwd);
41 bool getChunkSize(
bool bof);
44 static size_t curlReadData(
void *buffer,
size_t size,
45 size_t nmemb,
void *userp);
47 static bool initUrl();
48 static void shutDownUrl();