Commit b0d22be3 b0d22be3b58c243d5e6a16870e3c01c67cf2b380 by Sergey Poznyakoff

(mailer_get_url): New function.

1 parent 6fcf6741
......@@ -363,3 +363,12 @@ mailer_get_debug (mailer_t mailer, mu_debug_t *pdebug)
*pdebug = mailer->debug;
return 0;
}
int
mailer_get_url (mailer_t mailer, url_t *purl)
{
if (!mailer || !purl)
return EINVAL;
*purl = mailer->url;
return 0;
}
......