bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement of mailer_t delivery API(correction)


From: Alain Magloire
Subject: Re: Enhancement of mailer_t delivery API(correction)
Date: Wed, 14 Nov 2001 14:12:56 -0500 (EST)

> Use a wicket_t:
> {
>       wicket_t wicket = NULL;
>       ticket_t ticket = NULL;
>       mailbox_t mbox = NULL;
>       folder_t folder = NULL;
>       authority_t auth = NULL;
> 
>       wicket_create (&wicket, "/home/alain/.tickets");
>       wicket_get_ticket (wicket, "alain", NULL, &ticket);

oops!
        wicket_get_ticket (wicket, &ticket, "alain", NULL);
     
> 
>       mailbox_create (&mbox, "imap://localhost");
>       mailbox_get_folder (mbox, &folder);
>       folder_get_authority (folder, &auth);
>       authority_set_ticket (auth, ticket);
> }
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]