summaryrefslogtreecommitdiffabout
path: root/sieve
authorWojciech Polak <polak@gnu.org>2005-08-27 11:37:43 (GMT)
committer Wojciech Polak <polak@gnu.org>2005-08-27 11:37:43 (GMT)
commit755146b443774be9fdff992ede4cb921762b9649 (patch) (side-by-side diff)
treed92ea93eaf520c557231e7dca1d9051eac00d5be /sieve
parent6178304b1670d7288d8a37b9165bda5cbc44c180 (diff)
downloadmailutils-755146b443774be9fdff992ede4cb921762b9649.tar.gz
mailutils-755146b443774be9fdff992ede4cb921762b9649.tar.bz2
Normalize global namespace. Part 2
Diffstat (limited to 'sieve') (more/less context) (ignore whitespace changes)
-rw-r--r--sieve/sieve.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index da1142d..42ad626 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -290,12 +290,12 @@ syslog_debug_print (mu_debug_t unused, size_t level, const char *fmt,
static void
stdout_action_log (void *unused,
- const mu_sieve_locus_t *locus, size_t msgno, message_t msg,
+ const mu_sieve_locus_t *locus, size_t msgno, mu_message_t msg,
const char *action, const char *fmt, va_list ap)
{
size_t uid = 0;
- message_get_uid (msg, &uid);
+ mu_message_get_uid (msg, &uid);
if (sieve_print_locus)
fprintf (stdout, _("%s:%lu: %s on msg uid %lu"),
@@ -314,13 +314,13 @@ stdout_action_log (void *unused,
static void
syslog_action_log (void *unused,
- const mu_sieve_locus_t *locus, size_t msgno, message_t msg,
+ const mu_sieve_locus_t *locus, size_t msgno, mu_message_t msg,
const char *action, const char *fmt, va_list ap)
{
size_t uid = 0;
char *text = NULL;
- message_get_uid (msg, &uid);
+ mu_message_get_uid (msg, &uid);
if (sieve_print_locus)
asprintf (&text, _("%s:%lu: %s on msg uid %lu"),
@@ -345,10 +345,10 @@ int
main (int argc, char *argv[])
{
mu_sieve_machine_t mach;
- wicket_t wicket = 0;
- ticket_t ticket = 0;
+ mu_wicket_t wicket = 0;
+ mu_ticket_t ticket = 0;
mu_debug_t debug = 0;
- mailbox_t mbox = 0;
+ mu_mailbox_t mbox = 0;
int rc;
struct options opts = {0};
int (*debugfp) (mu_debug_t, size_t level, const char *, va_list);
@@ -471,8 +471,8 @@ main (int argc, char *argv[])
if (ticket)
{
- folder_t folder = NULL;
- authority_t auth = NULL;
+ mu_folder_t folder = NULL;
+ mu_authority_t auth = NULL;
if ((rc = mu_mailbox_get_folder (mbox, &folder)))
{

Return to:

Send suggestions and report system problems to the System administrator.