diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-02 19:05:58 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-02 19:05:58 +0000 |
commit | f2a2d6c9ac2d98b565005d446fde01aac47f7d88 (patch) | |
tree | cab413fc45895fea6975eca1523e758b18d2d2d3 /gio/ginputstream.h | |
parent | 920f3bffb31a60bcb5379c40efa3f648de79e15d (diff) |
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com>
* *.h: big header formatting cleanup: indentation, vtable
formatting, consistent spacing in (* vfunc), trailing whitespace
removal. Formatting should be pretty consistent in all GIO headers
now.
svn path=/trunk/; revision=7433
Diffstat (limited to 'gio/ginputstream.h')
-rw-r--r-- | gio/ginputstream.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/gio/ginputstream.h b/gio/ginputstream.h index 0257e3d57..81795298a 100644 --- a/gio/ginputstream.h +++ b/gio/ginputstream.h @@ -1,5 +1,5 @@ /* GIO - GLib Input, Output and Streaming Library - * + * * Copyright (C) 2006-2007 Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -40,7 +40,7 @@ G_BEGIN_DECLS /** * GInputStream: - * + * * Base class for streaming input operations. **/ typedef struct _GInputStreamClass GInputStreamClass; @@ -59,48 +59,48 @@ struct _GInputStreamClass GObjectClass parent_class; /* Sync ops: */ - - gssize (* read_fn) (GInputStream *stream, - void *buffer, - gsize count, - GCancellable *cancellable, - GError **error); - gssize (* skip) (GInputStream *stream, - gsize count, - GCancellable *cancellable, - GError **error); - gboolean (* close_fn) (GInputStream *stream, - GCancellable *cancellable, - GError **error); + + gssize (* read_fn) (GInputStream *stream, + void *buffer, + gsize count, + GCancellable *cancellable, + GError **error); + gssize (* skip) (GInputStream *stream, + gsize count, + GCancellable *cancellable, + GError **error); + gboolean (* close_fn) (GInputStream *stream, + GCancellable *cancellable, + GError **error); /* Async ops: (optional in derived classes) */ - void (* read_async) (GInputStream *stream, - void *buffer, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* read_finish) (GInputStream *stream, - GAsyncResult *result, - GError **error); - void (* skip_async) (GInputStream *stream, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* skip_finish) (GInputStream *stream, - GAsyncResult *result, - GError **error); - void (* close_async) (GInputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (* close_finish)(GInputStream *stream, - GAsyncResult *result, - GError **error); + void (* read_async) (GInputStream *stream, + void *buffer, + gsize count, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + gssize (* read_finish) (GInputStream *stream, + GAsyncResult *result, + GError **error); + void (* skip_async) (GInputStream *stream, + gsize count, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + gssize (* skip_finish) (GInputStream *stream, + GAsyncResult *result, + GError **error); + void (* close_async) (GInputStream *stream, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* close_finish) (GInputStream *stream, + GAsyncResult *result, + GError **error); /*< private >*/ /* Padding for future expansion */ @@ -111,7 +111,7 @@ struct _GInputStreamClass void (*_g_reserved5) (void); }; -GType g_input_stream_get_type (void) G_GNUC_CONST; +GType g_input_stream_get_type (void) G_GNUC_CONST; gssize g_input_stream_read (GInputStream *stream, void *buffer, |