Signed-off-by: Pierre Habouzit <madcoder@debian.org>
* is a set of pointers into account - don't free or edit account until
* you've finished with url (make a copy of account if you need it for
* a while). */
-void mutt_account_tourl (ACCOUNT * account, ciss_url_t * url)
+void mutt_account_tourl(ACCOUNT *account, ciss_url_t *url)
{
url->scheme = U_UNKNOWN;
url->user = NULL;
}
/* url_ciss_tostring: output the URL string for a given CISS object. */
-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)
{
ssize_t l = 0;
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 */