Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/ostream-internal.h @ 1329:ae229b7acb4c HEAD
Mailbox names are now sent through imap-quoter instead of just escaping it.
This means that mailbox names that would require escapes are instead sent
as literals now.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Apr 2003 05:05:38 +0300 |
parents | fd8888f6f037 |
children | d141e1bfdd63 |
line wrap: on
line source
#ifndef __OSTREAM_INTERNAL_H #define __OSTREAM_INTERNAL_H #include "ostream.h" #include "iostream-internal.h" struct _ostream { /* inheritance: */ struct _iostream iostream; /* methods: */ void (*cork)(struct _ostream *stream); int (*flush)(struct _ostream *stream); int (*have_space)(struct _ostream *stream, size_t size); int (*seek)(struct _ostream *stream, uoff_t offset); ssize_t (*send)(struct _ostream *stream, const void *data, size_t size); off_t (*send_istream)(struct _ostream *outstream, struct istream *instream); /* data: */ struct ostream ostream; }; struct ostream *_o_stream_create(struct _ostream *_stream, pool_t pool); #endif