diff options
author | bertrand <bertrand@helixcode.com> | 2000-01-25 06:29:49 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-01-25 06:29:49 +0800 |
commit | 7dded29a632d26b8ed2c279004dd5fe39014de27 (patch) | |
tree | 62205f85ea95f2d06543341c4c66765e89f9bf40 /camel/camel-stream-fs.h | |
parent | 98e15c6b5c3757241e3a4017df85ee0e42a5f947 (diff) | |
download | gsoc2013-evolution-7dded29a632d26b8ed2c279004dd5fe39014de27.tar.gz gsoc2013-evolution-7dded29a632d26b8ed2c279004dd5fe39014de27.tar.zst gsoc2013-evolution-7dded29a632d26b8ed2c279004dd5fe39014de27.zip |
converted all gint64 variables into guint32.
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-stream-fs.[ch]: converted all
gint64 variables into guint32.
* camel/camel-stream-fs.c (_read): fix stupid bug.
(_write): ditto.
* camel/camel-exception.c (camel_exception_new): don't
forget to clean the exception when creating it.
svn path=/trunk/; revision=1621
Diffstat (limited to 'camel/camel-stream-fs.h')
-rw-r--r-- | camel/camel-stream-fs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/camel/camel-stream-fs.h b/camel/camel-stream-fs.h index dc559bc7c9..7b5e7011c0 100644 --- a/camel/camel-stream-fs.h +++ b/camel/camel-stream-fs.h @@ -58,7 +58,7 @@ typedef struct gint fd; /* file descriptor on the underlying file */ guint32 cur_pos; /* current postion in the stream */ guint32 inf_bound; /* first valid position */ - gint64 sup_bound; /* last valid position, -1 means, no sup bound */ + gint32 sup_bound; /* last valid position, -1 means, no sup bound */ } CamelStreamFs; @@ -69,10 +69,10 @@ typedef struct { /* Virtual methods */ void (*init_with_fd) (CamelStreamFs *stream_fs, int fd); - void (*init_with_fd_and_bounds) (CamelStreamFs *stream_fs, int fd, guint32 inf_bound, gint64 sup_bound); + void (*init_with_fd_and_bounds) (CamelStreamFs *stream_fs, int fd, guint32 inf_bound, gint32 sup_bound); void (*init_with_name) (CamelStreamFs *stream_fs, const gchar *name, CamelStreamFsMode mode); void (*init_with_name_and_bounds) (CamelStreamFs *stream_fs, const gchar *name, - CamelStreamFsMode mode, guint32 inf_bound, gint64 sup_bound); + CamelStreamFsMode mode, guint32 inf_bound, gint32 sup_bound); } CamelStreamFsClass; @@ -85,10 +85,10 @@ GtkType camel_stream_fs_get_type (void); /* public methods */ CamelStream *camel_stream_fs_new_with_name (const gchar *name, CamelStreamFsMode mode); CamelStream *camel_stream_fs_new_with_name_and_bounds (const gchar *name, CamelStreamFsMode mode, - guint32 inf_bound, gint64 sup_bound); + guint32 inf_bound, gint32 sup_bound); CamelStream *camel_stream_fs_new_with_fd (int fd); CamelStream *camel_stream_fs_new_with_fd_and_bounds (int fd, - guint32 inf_bound, gint64 sup_bound); + guint32 inf_bound, gint32 sup_bound); #ifdef __cplusplus } |