Files
evolution/camel
Jeffrey Stedfast 2a5e8cb179 Removed. (stream_write): Keep looping (non-blocking case) if errno is
2001-10-29  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c (my_SSL_write): Removed.
	(stream_write): Keep looping (non-blocking case) if errno is
	EAGAIN, EINTR or EWOULDBLOCK. For NONBLOCKing I/O, sync up with
	CamelTcpStreamRaw. As with CamelTcpStreamRaw/SSL - make sure to
	write out everything before returning.
	(my_SSL_read): Removed.
	(stream_read): Just call ssl_error_to_errno() and check the errno
	values that we care about so we can keep the general look of all
	this stream code the same. Also when checking the return value of
	SSL_read, check for <0 instead of ==-1 since the man page for
	SSL_read doesn't say it will return -1 on fail, it just says <0.
	(stream_flush): Don't fsync() since syncing on a socket is a Bad
	Thing (tm).

	* camel-tcp-stream-ssl.c (stream_write): Make sure we write out
	everything just like in camel-tcp-stream-raw.c.

	* camel-stream-buffer.c (camel_stream_buffer_gets): If
	camel_stream_read() returns -1, don't necessarily return -1 to our
	caller since it's possible that we did actually "read" some data
	(ie, we copied some pre-buffered data into the out buffer).

	* camel-stream-buffer.h: Removed CAMEL_STREAM_BUFFER_NEWLINE since
	it never got used anywhere and it isn't supported anyway.

svn path=/trunk/; revision=14409
2001-10-30 03:09:01 +00:00
..
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-29 08:24:00 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 18:06:04 +00:00
2001-10-27 18:06:04 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-28 07:03:32 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-29 08:24:00 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00
2001-10-27 16:59:46 +00:00

                                   CAMEL
     

			A generic Messaging Library


                                   ----
				

Introduction:
-------------

[ NB. Camel has been written now. Please convert future tense to
present tense. Thank you.

	-- Peter Williams <peterw@ximian.com> 7/2/2001
]

Camel will be a generic messaging library. It will evntually support 
the standard messaging system for receiving and sending messages.
It aims at being the backend for the future gnome-mailer system.

The name "camel" stands for ... nothing. Open area of development there.
You know, that "bazaar" thing. Maybe could we organize a big contest on
gnome-list to find the best explanation :)

Camel draws heavily from JavaMail and the IMAP4rev1 RFC. People
wanting to hack on a provider should read the JavaMail API
specification, but CMC and MAPI are of interest too.

Please, before starting anything, wait for me to finish the abstract
classes. Some parts are not definitive yet.

 
Organization:
-------------

The library is roughly a set of abstract classes, some kind of generic
"interfaces" (idl interfaces, not java interfaces ).

Particular implementations are called providers.

Here are the basic objects:

* CamelService : an abstract class representing an access to a server.
Handles the connection and authentication to any server.

* CamelStore (CamelService): A hierarchy of folders on a server.

* CamelFolder : An object containing messages. A folder is always
associated with a store.

* CamelMessage : An object contained in folders. Is defined by a set
of attributes and a content. (Attributes include: the date it was
received, the sender address, .....)

* CamelTransport (CamelService): A way to send messages.

....
...