Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/istream-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 | c893ba64db07 |
children | c972ea085643 |
line wrap: on
line source
#ifndef __ISTREAM_INTERNAL_H #define __ISTREAM_INTERNAL_H #include "istream.h" #include "iostream-internal.h" struct _istream { /* inheritance: */ struct _iostream iostream; /* methods: */ ssize_t (*read)(struct _istream *stream); void (*skip_count)(struct _istream *stream, uoff_t count); void (*seek)(struct _istream *stream, uoff_t v_offset); /* data: */ struct istream istream; int fd; const unsigned char *buffer; unsigned char *w_buffer; /* may be NULL */ size_t buffer_size; size_t skip, pos, high_pos; }; struct istream *_i_stream_create(struct _istream *_buf, pool_t pool, int fd, uoff_t start_offset, uoff_t v_size); #endif