Lines 204-210
Link Here
|
204 |
* failover, more than one host is defined, but if there is only one there, |
204 |
* failover, more than one host is defined, but if there is only one there, |
205 |
* no failover is done. |
205 |
* no failover is done. |
206 |
*/ |
206 |
*/ |
207 |
int message_filter(struct transport *tp, const char *username, |
207 |
int message_filter(struct transport *tp, const char *username, const char *userprefs, |
208 |
int flags, struct message *m); |
208 |
int flags, struct message *m); |
209 |
|
209 |
|
210 |
/* Dump the message. If there is any data in the message (typically, m->type |
210 |
/* Dump the message. If there is any data in the message (typically, m->type |
Lines 216-222
Link Here
|
216 |
/* Do a message_read->message_filter->message_write sequence, handling errors |
216 |
/* Do a message_read->message_filter->message_write sequence, handling errors |
217 |
* appropriately with dump_message or appropriate CHECK_ONLY output. Returns |
217 |
* appropriately with dump_message or appropriate CHECK_ONLY output. Returns |
218 |
* EX_OK or EX_ISSPAM/EX_NOTSPAM on success, some error EX on error. */ |
218 |
* EX_OK or EX_ISSPAM/EX_NOTSPAM on success, some error EX on error. */ |
219 |
int message_process(struct transport *trans, char *username, int max_size, |
219 |
int message_process(struct transport *trans, char *username, char *userprefs, int max_size, |
220 |
int in_fd, int out_fd, const int flags); |
220 |
int in_fd, int out_fd, const int flags); |
221 |
|
221 |
|
222 |
/* Cleanup the resources we allocated for storing the message. Call after |
222 |
/* Cleanup the resources we allocated for storing the message. Call after |
Lines 224-230
Link Here
|
224 |
void message_cleanup(struct message *m); |
224 |
void message_cleanup(struct message *m); |
225 |
|
225 |
|
226 |
/* Aug 14, 2002 bj: This is now legacy, don't use it. */ |
226 |
/* Aug 14, 2002 bj: This is now legacy, don't use it. */ |
227 |
int process_message(struct transport *tp, char *username, |
227 |
int process_message(struct transport *tp, char *username, char *userprefs, |
228 |
int max_size, int in_fd, int out_fd, |
228 |
int max_size, int in_fd, int out_fd, |
229 |
const int check_only, const int safe_fallback); |
229 |
const int check_only, const int safe_fallback); |
230 |
|
230 |
|