Rudiments
url.h
1 // Copyright (c) 2015 David Muse
2 // See the COPYING file for more information
3 
4  url(const url &u);
5  url &operator=(const url &u);
6 
7  protected:
8  void lowLevelOpen(const char *name, int32_t flags,
9  mode_t perms, bool useperms);
10  int32_t lowLevelClose();
11 
12  ssize_t lowLevelRead(void *buffer, ssize_t size) const;
13  private:
14  void init();
15 
16  bool http(const char *host,
17  uint16_t port,
18  const char *userpwd,
19  const char *path);
20 
21  static bool initUrl();
22  static void shutDownUrl();
23 
24  static size_t writeData(void *buffer, size_t size,
25  size_t nmemb, void *userp);
26 
27  urlprivate *pvt;
Definition: url.h:37