summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhuzhenjun <[email protected]>2024-11-27 08:59:59 +0000
committerzhuzhenjun <[email protected]>2024-11-27 08:59:59 +0000
commit021d5da694b9e73b01a87a3510c365193371cf52 (patch)
tree0ac15411256b78ed81cd6682ae73264c70608759 /include
parent3694c142d974ab35f55bde4a8519525b9afcbc84 (diff)
init mail decoderdev-mail-decoder
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,