bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] POP3 code changes


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] POP3 code changes
Date: Mon, 23 Dec 2002 22:29:42 +0200

> This was more a question for Sergey, is MH cleanly separated ?

Oh, sorry for having replied late... Well, yes it is clearly separated
in the sense that it follows the current mailutils paradigm, that is

1) it is concentrated in the three files: mbx_mh.c, folder_mh.c and
url_mh.c;

2) these sources do not depend on other sources, except
"*0.h" headers;

As I noticed before, the only difference between mh and maildir
is that the former does not make any provisions for locking
the particular message files, since mh is non-concurrent by its
nature, whereas maildir is. Thus, most of the mh functions should
work for maildir except deleting and appending. The straight method
of joining the two functionalities (mh and maildir), would be to
add the locking to mbx_mh.c, leaving it disabled by default for pure
mh and enabled ny default for maildir. Then, we would need a common
header file for mbx_mh.c and mbx_maildir.c. I'll try to implement
this during the holidays.

Regards,
Sergey




reply via email to

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