summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stellar/mail.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stellar/mail.h b/include/stellar/mail.h
index d75d6f9..c2492e2 100644
--- a/include/stellar/mail.h
+++ b/include/stellar/mail.h
@@ -80,9 +80,9 @@ typedef void mail_eml_callback_func(struct session *sess,
void *arg);
-struct mail_env;
-struct mail_env *module_to_mail_decoder(struct module *module);
-int mail_subscribe(struct mail_env *env,
+struct mail_decoder;
+struct mail_decoder *module_to_mail_decoder(struct module *module);
+int mail_subscribe(struct mail_decoder *decoder,
mail_command_callback_func *command_cb,
mail_header_callback_func *header_cb,
mail_body_callback_func *data_cb,