39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan BoschARRAY_DEFINE_TYPE(smtp_param, struct smtp_param);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* AUTH: RFC 4954 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* BODY: RFC 6152 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* ENVID: RFC 3461, Section 4.4 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* RET: RFC 3461, Section 4.3 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* SIZE: RFC 1870 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* extra parameters */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* ORCPT: RFC 3461, Section 4.2 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* addr_type=rfc822 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* raw value */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* NOTIFY: RFC 3461, Section 4.1 */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch /* extra parameters */
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Boschint smtp_param_parse(pool_t pool, const char *text,
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch struct smtp_param *param_r, const char **error_r);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Boschvoid smtp_param_write(string_t *out, const struct smtp_param *param);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch * MAIL parameters
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Boschint smtp_params_mail_parse(pool_t pool, const char *args,
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch const char **error_r);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch struct smtp_params_mail *dst, const struct smtp_params_mail *src)
7c99fd4ea26239a4bb66dca6b3bb238e86adb3e4Stephan Boschsmtp_params_mail_get_extra(const struct smtp_params_mail *params,
7c99fd4ea26239a4bb66dca6b3bb238e86adb3e4Stephan Bosch const char *keyword);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch * RCPT parameters
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Boschint smtp_params_rcpt_parse(pool_t pool, const char *args,
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch const char **error_r);
39bf54004e8ef15baa4c18c7969e87c51b8f197bStephan Bosch struct smtp_params_rcpt *dst, const struct smtp_params_rcpt *src)
7c99fd4ea26239a4bb66dca6b3bb238e86adb3e4Stephan Boschsmtp_params_rcpt_get_extra(const struct smtp_params_rcpt *params,
7c99fd4ea26239a4bb66dca6b3bb238e86adb3e4Stephan Bosch const char *keyword);