1. 09 Feb, 2003 1 commit
  2. 29 Dec, 2002 1 commit
  3. 02 Oct, 2001 1 commit
    • 	* mailbox2/include/mailutils/sys/mbox.h: New prototypes.
      	* mailbox2/mbox/*.c: Finish implementation.
      	* mailbox2/attribute.c: Add user flags.
      	* mailbox2/dattribute.c: Add user flags.
      
      	To be compatible with the old mailbox, all stream read
      	and write take an offset. Removed stream_seek () and add
      	stream_is_seekable() instead.
      	* mailbox2/stream.c: Likewised.
      	* mailbox2/bstream.c: Likewised.
      	* mailbox2/fdstream.c: Likewised.
      	* mailbox2/fstream.c: Likewised.
      	* mailbox2/mapstream.c: Likewised.
      	* mailbox2/memstream.c: Likewised.
      	* mailbox2/tcpstream.c: Likewised.
      
      	* mailbox2/include/mailutils/error.h: Add EBADFD.
      Alain Magloire authored
  4. 17 Sep, 2001 1 commit
    • 	Basically they recommand to drop the XX_release() functions
      	and only to keep XX_create (), XX_destroy ().  We have simple
      	reference count strategy for memory management.
      
      	* mailbox2/* : Way too much to enumerate.
      	* mailbox2/refcount.c: New file
      	* mailbox2/include/mailutils/refcount.h: New file
      	* mailbox2/include/mailutils/sys/refcount.h: New file
      	* mailbox2/fdstream.c: stream_fd_create ().
      Alain Magloire authored
  5. 09 Sep, 2001 1 commit
    • 	object was that select() was not cover, meaning it was not possible
      	to check if a stream was {read,write} ready.  The old was to get
      	the fd (stream_get_fd()) and do the select.  Providing,
      	stream_is_readready (stream_t, int timeout);
      	stream_is_writeready (stream_t, int timeout);
      	stream_is_exceptionpending (stream_t, int timeout);
      	stream_is_open (stream_t);
      	Takes care of it.  It will work specially for tcp stream.
      
      	* mailbox2/stream.c: New functions for the select calls:
      	(stream_is_readready): New function.
      	(stream_is_writeready): New function.(stream_t, int timeout);
      	(stream_is_exceptionpending): New function.
      	(stream_is_open): New function.
      	* mailbox2/bstream.c (_bs_readline): Bug was truncating the string
      	to early.
      	(_bs_is_readready): New file.
      	(_bs_is_writeready): New file.
      	(_bs_is_exceptionpending): New file.
      	(_bs_is_open): New file.
      	* mailbox2/fstream.c: stubs for the select functions.
      	* mailbox2/memstream.c: stubs for the select functions.
      	* mailbox2/mapstream.c: stubs for the select functions.
      	* mailbox2/tcpstream.c: stubs for the select functions.
      	* mailbox2/include/mailutils/stream.h: Adjust the prototypes
      	* mailbox2/include/mailutils/sys/stream.h: Adjust the prototypes
      
      	It is better not to put threading (Pthread) code in the low level
      	API.  But instead in mailbox_t framework, where it can be control.
      	* mailbox2/include/mailutils/pop3.h: Adjust the prototypes.
      	* mailbox2/pop3/*.c: Remove threading code.
      Alain Magloire authored
  6. 05 Jul, 2001 1 commit
    • 	change prototype to be void * instead of char *.
      	* mailbox2/bstream.c: Adjust bstream_{read,write} to the
      	new prototypes.
      	* mailbox2/pop3/pop3_stream.c: Likewised.
      	* mailbox2/Makefile.am: New file.
      	* mailbox2/pop3/Makefile.am: New file.
      	* mailbox2/mstream.c: Mapfile stream Implementation.
      	* mailbox2/fstream.c: File stream implementation.
      	* mailbox2/include/mailutils/sys/fstream.h: New file.
      	* mailbox2/include/mailutils/sys/mstream.h: New file.
      	* mailbox2/tcp.c: rename to tcpstream.c.
      	* mailbox2/include/mailutils/sys/tcp.h: Rename to tcpstream.h
      Alain Magloire authored
  7. 09 Jun, 2001 1 commit