5 url &operator=(
const url &u);
8 ssize_t getContents(
unsigned char *buffer,
size_t buffersize);
10 static char *getContents(
const char *name);
11 static ssize_t getContents(
const char *name,
12 unsigned char *buffer,
16 bool lowLevelOpen(
const char *name, int32_t flags,
17 mode_t perms,
bool useperms);
18 int32_t lowLevelClose();
20 ssize_t lowLevelRead(
void *buffer, ssize_t size);
24 bool httpOpen(
const char *urlname,
const char *userpwd);
25 bool getChunkSize(
bool bof);
28 static size_t curlReadData(
void *buffer,
size_t size,
29 size_t nmemb,
void *userp);
31 static bool initUrl();
32 static void shutDownUrl();