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) ...@@ -363,3 +363,12 @@ mailer_get_debug (mailer_t mailer, mu_debug_t *pdebug)
363 *pdebug = mailer->debug; 363 *pdebug = mailer->debug;
364 return 0; 364 return 0;
365 } 365 }
366
367 int
368 mailer_get_url (mailer_t mailer, url_t *purl)
369 {
370 if (!mailer || !purl)
371 return EINVAL;
372 *purl = mailer->url;
373 return 0;
374 }
......