bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Snapshot 20050906 broke everything!


From: Kostas Zorbadelos
Subject: Re: [bug-mailutils] Snapshot 20050906 broke everything!
Date: Wed, 21 Sep 2005 11:38:39 +0300
User-agent: Mutt/1.5.9i

On Tue, Sep 20, 2005 at 09:59:57PM +0300, Sergey Poznyakoff wrote:

> > I know that there are extensive changes
> > in mailutils and I noticed in the list a message saying that you will
> > change the namespace in the libraries.
> 
> Yes, it is already done.
>

Perfect. Nice to know that there are not many things left.
 
> > I prefixed all functions I used
> > from mailutils with 'mu_' and also changed the name of the library
> > 'mailbox' to 'mailutils'.
> > I managed to compile my programs with these changes.
> 
> Great. By the way, I'd suggest using mailutils-config in your makefiles
> to determine loader options, this will always provide correct library
> names. 
>

I did that. I could not find any options for the linking of the sieve
library however. If there is one, tell me.

 
> > My questions: 
> > - are these changes enough or your redesign goes deeper?
> 
> All the principal changes are already done. The only major change
> waiting in my todo is getting rid of the last argument ('owner') in
> <object>_destroy calls. 
> 

Hmm. Will this change be available in the alpha release?

> > - in your next alpha release (scheduled within the next week as I
> > know) all programs are expected to use the new namespace? 
> 
> Yes, the package itself has switched entirely to the new namespace.
> 
> > Will the old names remain for backwards compatibility?
> 
> The new release will provide a set of defines allowing to use most of
> old function names. However, using new namespace is recommended.
>

I converted my program to use the new namespace already.
I noticed one more change in the way the registration of modules takes
place (cleaner API).

My piece of code 

  {
    list_t bookie;
    registrar_get_list (&bookie);
    list_append (bookie, mbox_record); 
    list_append (bookie, path_record);
    /*    list_append (bookie, maildir_record); */ /* Maildir support is to be 
activated later */
    /* Possible supported mailers.  */
    list_append (bookie, sendmail_record);
    list_append (bookie, smtp_record);
  }


got replaced by

   /* Register local mbox formats (mailutils stuff). */
  {
    mu_registrar_record (mu_mbox_record);
    mu_registrar_record (mu_path_record);
    /* This is to be added later for maildir support */
    /* mu_registrar_record (mu_maildir_record); */

    /* Possible supported mailers.  */
    mu_registrar_record (mu_sendmail_record);
    mu_registrar_record (mu_smtp_record);
  }

Thanks Sergey

Kostas

-- 
  Kostas Zorbadelos
  Systems Designer/Developer, Otenet SA 
  address@hidden contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.





reply via email to

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