aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/lib/streams.h
blob: df52e283d07e6afd9ce5b920fb11a56a2fc92ac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12

#include "camel/camel-seekable-stream.h"

/* call one, then the other on the same stream content */
void test_stream_seekable_writepart(CamelSeekableStream *s);
void test_stream_seekable_readpart(CamelSeekableStream *s);

/* same, for substreams, multiple ways of writing */
#define SEEKABLE_SUBSTREAM_WAYS (2)

void test_seekable_substream_writepart(CamelStream *s, int type);
void test_seekable_substream_readpart(CamelStream *s);