aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-seekable-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-seekable-stream.h')
-rw-r--r--camel/camel-seekable-stream.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/camel/camel-seekable-stream.h b/camel/camel-seekable-stream.h
index 24333bcfa0..f1cd5cdbca 100644
--- a/camel/camel-seekable-stream.h
+++ b/camel/camel-seekable-stream.h
@@ -66,25 +66,20 @@ typedef struct {
/* Virtual methods */
off_t (*seek) (CamelSeekableStream *stream, off_t offset,
- CamelStreamSeekPolicy policy,
- CamelException *ex);
+ CamelStreamSeekPolicy policy);
off_t (*tell) (CamelSeekableStream *stream);
- void (*set_bounds) (CamelSeekableStream *stream,
- off_t start, off_t end, CamelException *ex);
+ int (*set_bounds) (CamelSeekableStream *stream,
+ off_t start, off_t end);
} CamelSeekableStreamClass;
/* Standard Gtk function */
GtkType camel_seekable_stream_get_type (void);
/* public methods */
-off_t camel_seekable_stream_seek (CamelSeekableStream *stream,
- off_t offset,
- CamelStreamSeekPolicy policy,
- CamelException *ex);
+off_t camel_seekable_stream_seek (CamelSeekableStream *stream, off_t offset,
+ CamelStreamSeekPolicy policy);
off_t camel_seekable_stream_tell (CamelSeekableStream *stream);
-void camel_seekable_stream_set_bounds (CamelSeekableStream *,
- off_t, off_t,
- CamelException *);
+int camel_seekable_stream_set_bounds (CamelSeekableStream *, off_t start, off_t end);
#ifdef __cplusplus
}