~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib/ostream-private.h

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
        struct ostream *parent; /* for filter streams */
34
34
 
 
35
        int fd;
35
36
        stream_flush_callback_t *callback;
36
37
        void *context;
37
38
 
38
39
        unsigned int corked:1;
 
40
        unsigned int last_errors_not_checked:1;
 
41
        unsigned int error_handling_disabled:1;
39
42
};
40
43
 
41
44
struct ostream *
42
 
o_stream_create(struct ostream_private *_stream, struct ostream *parent);
 
45
o_stream_create(struct ostream_private *_stream, struct ostream *parent, int fd)
 
46
        ATTR_NULL(2);
43
47
 
44
48
off_t io_stream_copy(struct ostream *outstream, struct istream *instream,
45
49
                     size_t block_size);