struct citsmtp { /* Information about the current session */
int command_state;
char helo_node[SIZ];
- struct user vrfy_buffer;
+ struct ctdluser vrfy_buffer;
int vrfy_count;
char vrfy_match[SIZ];
char from[SIZ];
/*
* Back end for smtp_vrfy() command
*/
-void smtp_vrfy_backend(struct user *us, void *data) {
+void smtp_vrfy_backend(struct ctdluser *us, void *data) {
if (!fuzzy_match(us, SMTP->vrfy_match)) {
++SMTP->vrfy_count;
- memcpy(&SMTP->vrfy_buffer, us, sizeof(struct user));
+ memcpy(&SMTP->vrfy_buffer, us, sizeof(struct ctdluser));
}
}
/*
* Back end for smtp_expn() command
*/
-void smtp_expn_backend(struct user *us, void *data) {
+void smtp_expn_backend(struct ctdluser *us, void *data) {
if (!fuzzy_match(us, SMTP->vrfy_match)) {
}
++SMTP->vrfy_count;
- memcpy(&SMTP->vrfy_buffer, us, sizeof(struct user));
+ memcpy(&SMTP->vrfy_buffer, us, sizeof(struct ctdluser));
}
}
* Initialize the SMTP outbound queue
*/
void smtp_init_spoolout(void) {
- struct room qrbuf;
+ struct ctdlroom qrbuf;
/*
* Create the room. This will silently fail if the room already