CamelNNTPStream
CamelNNTPStream
|
|
Synopsis
struct CamelNNTPStream;
CamelNNTPStream * camel_nntp_stream_new (CamelStream *source);
enum camel_nntp_stream_mode_t;
void camel_nntp_stream_set_mode (CamelNNTPStream *is,
camel_nntp_stream_mode_t mode);
gint camel_nntp_stream_line (CamelNNTPStream *is,
guchar **data,
guint *len,
GCancellable *cancellable,
GError **error);
gint camel_nntp_stream_gets (CamelNNTPStream *is,
guchar **start,
guint *len,
GCancellable *cancellable,
GError **error);
gint camel_nntp_stream_getd (CamelNNTPStream *is,
guchar **start,
guint *len,
GCancellable *cancellable,
GError **error);
Implemented Interfaces
CamelNNTPStream implements
GSeekable.
Details
struct CamelNNTPStream
struct CamelNNTPStream;
enum camel_nntp_stream_mode_t
typedef enum {
CAMEL_NNTP_STREAM_LINE,
CAMEL_NNTP_STREAM_DATA,
CAMEL_NNTP_STREAM_EOD /* end of data, acts as if end of stream */
} camel_nntp_stream_mode_t;
CAMEL_NNTP_STREAM_LINE
|
|
CAMEL_NNTP_STREAM_DATA
|
|
CAMEL_NNTP_STREAM_EOD
|
|