Re: smtp module/classes

Gerd Stolpmann <[email protected]> Sat, 21 May 2005 13:26:00 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Am Dienstag, den 17.05.2005, 17:16 +0200 schrieb Pierre Habouzit:
> Le Mardi 17 Mai 2005 17:15, Gerd Stolpmann a écrit :
> > Am Montag, den 09.05.2005, 23:51 +0200 schrieb Pierre Habouzit:
> > > I'm very interested in ocamlnet, that is currently lacking of
> > > smtp(d) modules. I already wrote a smtp client class following the
> > > structure or the current netpop.
> > >
> > > My final goal is to write an smtp proxy (to use as a content-filter
> > > for postfix).
> > >
> > > would you be interested in my classes (that I can license under the
> > > terms you want) ?
> > >
> > > btw, I'm not subscribed to the list, so please Cc: me on answers.
> > > thanks
> >
> > Well, yes, why not?
> >
> > Of course, we would like you to maintain your code after you brought
> > it into the project. You will need a Sourceforge account for this.
> 
> I have one (mad_coder)

Ok, Pierre, you have now the rights to check in your code. You can do
this in a subdirectory below ocamlnet/src.

We actually have some coding rules, although there is no document where
they are written up:

- Choose logical and unique module names. For example, the modules of the
  component cgi have all the name prefix "netcgi". For new components it
  is best to simply take the component name as prefix.

  Names of components and modules are often built with "net" as prefix
  to avoid collisions with other people's modules. And of course, for
  purposes of "library identity".

- All modules must have a separate and commented mli interface file.
  Comments must be done using ocamldoc.

- The existing Makefile/configure infrastructure must be used. If features
  are missing, we can add them.

- Don't use -pack. It isn't supported on all platforms.

These rules are quite minimum, the rest is discussion.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
[email protected]          http://www.gerd-stolpmann.de
------------------------------------------------------------




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click