#include <time.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <arpa/inet.h>
+#include <libcitadel.h>
+
#define LIBCITADEL_VERSION_NUMBER 789
/*
const char *GetIconFilename(char *MimeType, size_t len);
+/* URL parsing & connection data */
+typedef struct ParsedURL ParsedURL;
+struct ParsedURL {
+ StrBuf *URL;
+ unsigned Port;
+ const char *Host;
+ const char *User;
+ const char *Pass;
+ const char *LocalPart;
+ int IsIP;
+ int IPv6;
+ int af;
+ struct hostent *HEnt;
+ struct in6_addr Addr;
+ ParsedURL *Next;
+};
+
+void FreeURL(ParsedURL** Url);
+int ParseURL(ParsedURL **Url, StrBuf *UrlStr, unsigned short DefaultPort);
+
/* tools */