Commit 6431788b 6431788bc5e757e1fec4410c2bdd64de1fd5f1bc by Sergey Poznyakoff

(sieve_get_message_sender,stream_printf): New prototypes.

1 parent 92e41820
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
3 3
4 This library is free software; you can redistribute it and/or 4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public 5 modify it under the terms of the GNU Lesser General Public
...@@ -212,6 +212,8 @@ void sieve_set_ticket __P((sieve_machine_t mach, ticket_t ticket)); ...@@ -212,6 +212,8 @@ void sieve_set_ticket __P((sieve_machine_t mach, ticket_t ticket));
212 void sieve_set_mailer __P((sieve_machine_t mach, mailer_t mailer)); 212 void sieve_set_mailer __P((sieve_machine_t mach, mailer_t mailer));
213 void sieve_set_daemon_email __P((sieve_machine_t mach, const char *email)); 213 void sieve_set_daemon_email __P((sieve_machine_t mach, const char *email));
214 214
215 int sieve_get_message_sender __P((message_t msg, char **ptext));
216
215 /* Logging and diagnostic functions */ 217 /* Logging and diagnostic functions */
216 218
217 void sieve_error __P((sieve_machine_t mach, const char *fmt, ...)); 219 void sieve_error __P((sieve_machine_t mach, const char *fmt, ...));
...@@ -219,7 +221,7 @@ void sieve_debug __P((sieve_machine_t mach, const char *fmt, ...)); ...@@ -219,7 +221,7 @@ void sieve_debug __P((sieve_machine_t mach, const char *fmt, ...));
219 void sieve_log_action __P((sieve_machine_t mach, const char *action, 221 void sieve_log_action __P((sieve_machine_t mach, const char *action,
220 const char *fmt, ...)); 222 const char *fmt, ...));
221 void sieve_abort __P((sieve_machine_t mach)); 223 void sieve_abort __P((sieve_machine_t mach));
222 224 int stream_printf __P((stream_t stream, size_t *off, const char *fmt, ...));
223 225
224 int sieve_is_dry_run __P((sieve_machine_t mach)); 226 int sieve_is_dry_run __P((sieve_machine_t mach));
225 const char *sieve_type_str __P((sieve_data_type type)); 227 const char *sieve_type_str __P((sieve_data_type type));
......