summaryrefslogtreecommitdiff
path: root/gio/glocalfileinfo.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-09-02 19:05:58 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-09-02 19:05:58 +0000
commitf2a2d6c9ac2d98b565005d446fde01aac47f7d88 (patch)
treecab413fc45895fea6975eca1523e758b18d2d2d3 /gio/glocalfileinfo.h
parent920f3bffb31a60bcb5379c40efa3f648de79e15d (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/glocalfileinfo.h')
-rw-r--r--gio/glocalfileinfo.h63
1 files changed, 32 insertions, 31 deletions
diff --git a/gio/glocalfileinfo.h b/gio/glocalfileinfo.h
index 4fe80a29e..f30512e36 100644
--- a/gio/glocalfileinfo.h
+++ b/gio/glocalfileinfo.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
@@ -32,12 +32,13 @@
G_BEGIN_DECLS
-typedef struct {
+typedef struct
+{
gboolean writable;
gboolean is_sticky;
gboolean has_trash_dir;
- int owner;
- dev_t device;
+ int owner;
+ dev_t device;
} GLocalParentFileInfo;
#ifdef G_OS_WIN32
@@ -47,33 +48,33 @@ typedef struct {
#define GLocalFileStat struct stat
#endif
-gboolean _g_local_file_has_trash_dir (const char *dirname,
- dev_t dir_dev);
-void _g_local_file_info_get_parent_info (const char *dir,
- GFileAttributeMatcher *attribute_matcher,
- GLocalParentFileInfo *parent_info);
-GFileInfo *_g_local_file_info_get (const char *basename,
- const char *path,
- GFileAttributeMatcher *attribute_matcher,
- GFileQueryInfoFlags flags,
- GLocalParentFileInfo *parent_info,
- GError **error);
-GFileInfo *_g_local_file_info_get_from_fd (int fd,
- char *attributes,
- GError **error);
-char * _g_local_file_info_create_etag (GLocalFileStat *statbuf);
-gboolean _g_local_file_info_set_attribute (char *filename,
- const char *attribute,
- GFileAttributeType type,
- gpointer value_p,
- GFileQueryInfoFlags flags,
- GCancellable *cancellable,
- GError **error);
-gboolean _g_local_file_info_set_attributes (char *filename,
- GFileInfo *info,
- GFileQueryInfoFlags flags,
- GCancellable *cancellable,
- GError **error);
+gboolean _g_local_file_has_trash_dir (const char *dirname,
+ dev_t dir_dev);
+void _g_local_file_info_get_parent_info (const char *dir,
+ GFileAttributeMatcher *attribute_matcher,
+ GLocalParentFileInfo *parent_info);
+GFileInfo *_g_local_file_info_get (const char *basename,
+ const char *path,
+ GFileAttributeMatcher *attribute_matcher,
+ GFileQueryInfoFlags flags,
+ GLocalParentFileInfo *parent_info,
+ GError **error);
+GFileInfo *_g_local_file_info_get_from_fd (int fd,
+ char *attributes,
+ GError **error);
+char * _g_local_file_info_create_etag (GLocalFileStat *statbuf);
+gboolean _g_local_file_info_set_attribute (char *filename,
+ const char *attribute,
+ GFileAttributeType type,
+ gpointer value_p,
+ GFileQueryInfoFlags flags,
+ GCancellable *cancellable,
+ GError **error);
+gboolean _g_local_file_info_set_attributes (char *filename,
+ GFileInfo *info,
+ GFileQueryInfoFlags flags,
+ GCancellable *cancellable,
+ GError **error);
G_END_DECLS