mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
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
This commit is contained in:
committed by
Michael Natterer
parent
920f3bffb3
commit
f2a2d6c9ac
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user