(mailer_get_url): New function.
Showing
1 changed file
with
9 additions
and
0 deletions
... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment