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.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/camel/camel-seekable-stream.h b/camel/camel-seekable-stream.h
index f9eb86636d..24333bcfa0 100644
--- a/camel/camel-seekable-stream.h
+++ b/camel/camel-seekable-stream.h
@@ -1,15 +1,14 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* camel-stream-fs.h :stream based on unix filesystem */
-/*
- *
- * Author :
+/*
+ * Author:
* Bertrand Guiheneuf <bertrand@helixcode.com>
*
* Copyright 1999, 2000 Helix Code, Inc. (http://www.helixcode.com)
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
@@ -64,22 +63,28 @@ struct _CamelSeekableStream
typedef struct {
CamelStreamClass parent_class;
-
- /* Virtual methods */
- off_t (*seek) (CamelSeekableStream *stream, off_t offset, CamelStreamSeekPolicy policy);
+
+ /* Virtual methods */
+ off_t (*seek) (CamelSeekableStream *stream, off_t offset,
+ CamelStreamSeekPolicy policy,
+ CamelException *ex);
off_t (*tell) (CamelSeekableStream *stream);
- void (*set_bounds) (CamelSeekableStream *stream, off_t start, off_t end);
+ void (*set_bounds) (CamelSeekableStream *stream,
+ off_t start, off_t end, CamelException *ex);
} 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);
-off_t camel_seekable_stream_tell (CamelSeekableStream *stream);
-void camel_seekable_stream_set_bounds (CamelSeekableStream *, off_t, off_t);
+off_t camel_seekable_stream_seek (CamelSeekableStream *stream,
+ off_t offset,
+ CamelStreamSeekPolicy policy,
+ CamelException *ex);
+off_t camel_seekable_stream_tell (CamelSeekableStream *stream);
+void camel_seekable_stream_set_bounds (CamelSeekableStream *,
+ off_t, off_t,
+ CamelException *);
#ifdef __cplusplus
}
>2014-02-142-69/+42 * - Update librcc to 0.2.12 stable releasefluffy2013-11-254-37/+43 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Add an explicit dependency on pkgconfantoine2013-09-041-2/+1 * - Fix options conversionbdrewery2013-05-241-1/+1 * - adoption of optionsNGjgh2013-05-231-16/+13 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-271-2/+2 * * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 whichkwm2013-03-081-0/+4 * - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)gahr2013-02-141-2/+1 * - update png to 1.5.10dinoex2012-06-01