More string and buffer functions.
[apps/madmutt.git] / lib-lib / url.h
index 3078ebd..f4410dd 100644 (file)
 #ifndef MUTT_LIB_LIB_URL_H
 #define MUTT_LIB_LIB_URL_H
 
-#include <unistd.h>
-
 typedef enum url_scheme {
     U_FILE,
     U_POP,
     U_POPS,
     U_IMAP,
     U_IMAPS,
-    U_NNTP,
-    U_NNTPS,
     U_MAILTO,
     U_UNKNOWN
 } url_scheme_t;
@@ -54,6 +50,6 @@ char *url_decode(char *);
 
 url_scheme_t url_check_scheme (const char *s);
 int url_parse_ciss(ciss_url_t *ciss, char *src);
-int url_ciss_tostring(ciss_url_t *ciss, char *dst, ssize_t len, int flags);
+int url_ciss_tostring(const ciss_url_t *ciss, char *dst, ssize_t len, int flags);
 
 #endif /* MUTT_LIB_LIB_URL_H */