X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=url.h;fp=url.h;h=0000000000000000000000000000000000000000;hb=3e9a92ab72e04aecb0fc4098098a1b57c5101d84;hp=fda4e64420280668edabd210f9e71cc8190677cc;hpb=fd25c07c1e9e19606b1b6d5533df1f6239455036;p=apps%2Fmadmutt.git diff --git a/url.h b/url.h deleted file mode 100644 index fda4e64..0000000 --- a/url.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright notice from original mutt: - * [none] - * - * This file is part of mutt-ng, see http://www.muttng.org/. - * It's licensed under the GNU General Public License, - * please see the file GPL in the top level source directory. - */ - -#ifndef _URL_H -# define _URL_H - -#include - -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; - -#define U_DECODE_PASSWD (1) - -typedef struct ciss_url { - url_scheme_t scheme; - char *user; - char *pass; - char *host; - unsigned short port; - char *path; -} ciss_url_t; - -url_scheme_t url_check_scheme (const char *s); -int url_parse_file (char *d, const char *src, size_t dl); -int url_parse_ciss (ciss_url_t * ciss, char *src); -int url_ciss_tostring (ciss_url_t * ciss, char *dest, size_t len, int flags); -int url_parse_mailto (ENVELOPE * e, char **body, const char *src); - -#endif