08673a61b39224a9e2134b69af4c9944ef14c099
[platform/upstream/glib2.0.git] / docs / reference / gio / html / GFileInfo.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GFileInfo</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GIO Reference Manual">
8 <link rel="up" href="file_ops.html" title="File Operations">
9 <link rel="prev" href="gio-GFileAttribute.html" title="GFileAttribute">
10 <link rel="next" href="GFileEnumerator.html" title="GFileEnumerator">
11 <meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 <link rel="part" href="pt01.html" title="Part I. GIO Overview">
14 <link rel="chapter" href="ch01.html" title="Introduction">
15 <link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16 <link rel="chapter" href="ch03.html" title="Running GIO applications">
17 <link rel="chapter" href="extending-gio.html" title="Extending GIO">
18 <link rel="part" href="pt02.html" title="Part II. API Reference">
19 <link rel="chapter" href="file_ops.html" title="File Operations">
20 <link rel="chapter" href="file_mon.html" title="File System Monitoring">
21 <link rel="chapter" href="async.html" title="Asynchronous I/O">
22 <link rel="chapter" href="conversion.html" title="Data conversion">
23 <link rel="chapter" href="streaming.html" title="Streaming I/O">
24 <link rel="chapter" href="types.html" title="File types and applications">
25 <link rel="chapter" href="volume_mon.html" title="Volumes and Drives">
26 <link rel="chapter" href="icons.html" title="Icons">
27 <link rel="chapter" href="failable_initialization.html" title="Failable Initialization">
28 <link rel="chapter" href="networking.html" title="Lowlevel platform-independent network support">
29 <link rel="chapter" href="resolver.html" title="DNS resolution">
30 <link rel="chapter" href="highlevel-socket.html" title="Highlevel network functionallity">
31 <link rel="chapter" href="utils.html" title="Utilities">
32 <link rel="chapter" href="extending.html" title="Extending GIO">
33 <link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
34 <link rel="chapter" href="ch19.html" title="Migrating from POSIX to GIO">
35 <link rel="chapter" href="ch20.html" title="Migrating from GnomeVFS to GIO">
36 <link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
37 <link rel="index" href="api-index-full.html" title="Index">
38 <link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
39 <link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
40 <link rel="index" href="api-index-2-20.html" title="Index of new symbols in 2.20">
41 <link rel="index" href="api-index-2-22.html" title="Index of new symbols in 2.22">
42 <link rel="index" href="api-index-2-24.html" title="Index of new symbols in 2.24">
43 </head>
44 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
45 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
46 <tr valign="middle">
47 <td><a accesskey="p" href="gio-GFileAttribute.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
48 <td><a accesskey="u" href="file_ops.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
49 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
50 <th width="100%" align="center">GIO Reference Manual</th>
51 <td><a accesskey="n" href="GFileEnumerator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
52 </tr>
53 <tr><td colspan="5" class="shortcuts">
54 <a href="#GFileInfo.synopsis" class="shortcut">Top</a>
55                    | 
56                   <a href="#GFileInfo.description" class="shortcut">Description</a>
57                    | 
58                   <a href="#GFileInfo.object-hierarchy" class="shortcut">Object Hierarchy</a>
59 </td></tr>
60 </table>
61 <div class="refentry" title="GFileInfo">
62 <a name="GFileInfo"></a><div class="titlepage"></div>
63 <div class="refnamediv"><table width="100%"><tr>
64 <td valign="top">
65 <h2><span class="refentrytitle"><a name="GFileInfo.top_of_page"></a>GFileInfo</span></h2>
66 <p>GFileInfo — File Information and Attributes</p>
67 </td>
68 <td valign="top" align="right"></td>
69 </tr></table></div>
70 <div class="refsynopsisdiv" title="Synopsis">
71 <a name="GFileInfo.synopsis"></a><h2>Synopsis</h2>
72 <pre class="synopsis">
73 #include &lt;gio/gio.h&gt;
74
75                     <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher">GFileAttributeMatcher</a>;
76 enum                <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType">GFileType</a>;
77                     <a class="link" href="GFileInfo.html#GFileInfo-struct" title="GFileInfo">GFileInfo</a>;
78 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TYPE">G_FILE_ATTRIBUTE_STANDARD_TYPE</a>
79 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN">G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</a>
80 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-BACKUP:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP">G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP</a>
81 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK">G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</a>
82 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-VIRTUAL:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL">G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL</a>
83 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_NAME">G_FILE_ATTRIBUTE_STANDARD_NAME</a>
84 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</a>
85 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME">G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</a>
86 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-COPY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_COPY_NAME">G_FILE_ATTRIBUTE_STANDARD_COPY_NAME</a>
87 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ICON">G_FILE_ATTRIBUTE_STANDARD_ICON</a>
88 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE">G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</a>
89 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-FAST-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE">G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE</a>
90 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SIZE">G_FILE_ATTRIBUTE_STANDARD_SIZE</a>
91 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ALLOCATED-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE">G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE</a>
92 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET">G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</a>
93 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TARGET-URI:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TARGET_URI">G_FILE_ATTRIBUTE_STANDARD_TARGET_URI</a>
94 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</a>
95 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS" title="G_FILE_ATTRIBUTE_ETAG_VALUE">G_FILE_ATTRIBUTE_ETAG_VALUE</a>
96 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILE:CAPS" title="G_FILE_ATTRIBUTE_ID_FILE">G_FILE_ATTRIBUTE_ID_FILE</a>
97 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILESYSTEM:CAPS" title="G_FILE_ATTRIBUTE_ID_FILESYSTEM">G_FILE_ATTRIBUTE_ID_FILESYSTEM</a>
98 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-READ:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_READ">G_FILE_ATTRIBUTE_ACCESS_CAN_READ</a>
99 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-WRITE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE">G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE</a>
100 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-EXECUTE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE">G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE</a>
101 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-DELETE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE">G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE</a>
102 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-TRASH:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH">G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH</a>
103 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-RENAME:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME">G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME</a>
104 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-MOUNT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT</a>
105 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-UNMOUNT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</a>
106 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-EJECT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</a>
107 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE">G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</a>
108 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE-FILE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE">G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE</a>
109 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-HAL-UDI:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI">G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</a>
110 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-POLL:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL</a>
111 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-IS-MEDIA-CHECK-AUTOMATIC:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC">G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC</a>
112 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START</a>
113 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START-DEGRADED:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED</a>
114 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-STOP:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP</a>
115 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-START-STOP-TYPE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE">G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE</a>
116 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED">G_FILE_ATTRIBUTE_TIME_MODIFIED</a>
117 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC">G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC</a>
118 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS">G_FILE_ATTRIBUTE_TIME_ACCESS</a>
119 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS_USEC">G_FILE_ATTRIBUTE_TIME_ACCESS_USEC</a>
120 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED">G_FILE_ATTRIBUTE_TIME_CHANGED</a>
121 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED_USEC">G_FILE_ATTRIBUTE_TIME_CHANGED_USEC</a>
122 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED">G_FILE_ATTRIBUTE_TIME_CREATED</a>
123 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED_USEC">G_FILE_ATTRIBUTE_TIME_CREATED_USEC</a>
124 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_DEVICE">G_FILE_ATTRIBUTE_UNIX_DEVICE</a>
125 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-INODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_INODE">G_FILE_ATTRIBUTE_UNIX_INODE</a>
126 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-MODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_MODE">G_FILE_ATTRIBUTE_UNIX_MODE</a>
127 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-NLINK:CAPS" title="G_FILE_ATTRIBUTE_UNIX_NLINK">G_FILE_ATTRIBUTE_UNIX_NLINK</a>
128 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-UID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_UID">G_FILE_ATTRIBUTE_UNIX_UID</a>
129 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-GID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_GID">G_FILE_ATTRIBUTE_UNIX_GID</a>
130 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-RDEV:CAPS" title="G_FILE_ATTRIBUTE_UNIX_RDEV">G_FILE_ATTRIBUTE_UNIX_RDEV</a>
131 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-BLOCK-SIZE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE">G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE</a>
132 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-BLOCKS:CAPS" title="G_FILE_ATTRIBUTE_UNIX_BLOCKS">G_FILE_ATTRIBUTE_UNIX_BLOCKS</a>
133 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-IS-MOUNTPOINT:CAPS" title="G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT">G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT</a>
134 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-DOS-IS-ARCHIVE:CAPS" title="G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE">G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE</a>
135 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-DOS-IS-SYSTEM:CAPS" title="G_FILE_ATTRIBUTE_DOS_IS_SYSTEM">G_FILE_ATTRIBUTE_DOS_IS_SYSTEM</a>
136 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-USER:CAPS" title="G_FILE_ATTRIBUTE_OWNER_USER">G_FILE_ATTRIBUTE_OWNER_USER</a>
137 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-USER-REAL:CAPS" title="G_FILE_ATTRIBUTE_OWNER_USER_REAL">G_FILE_ATTRIBUTE_OWNER_USER_REAL</a>
138 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-GROUP:CAPS" title="G_FILE_ATTRIBUTE_OWNER_GROUP">G_FILE_ATTRIBUTE_OWNER_GROUP</a>
139 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAIL-PATH:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAIL_PATH">G_FILE_ATTRIBUTE_THUMBNAIL_PATH</a>
140 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAILING_FAILED">G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</a>
141 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-PREVIEW-ICON:CAPS" title="G_FILE_ATTRIBUTE_PREVIEW_ICON">G_FILE_ATTRIBUTE_PREVIEW_ICON</a>
142 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-SIZE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_SIZE">G_FILE_ATTRIBUTE_FILESYSTEM_SIZE</a>
143 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-FREE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_FREE">G_FILE_ATTRIBUTE_FILESYSTEM_FREE</a>
144 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-TYPE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_TYPE">G_FILE_ATTRIBUTE_FILESYSTEM_TYPE</a>
145 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-READONLY:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_READONLY">G_FILE_ATTRIBUTE_FILESYSTEM_READONLY</a>
146 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-GVFS-BACKEND:CAPS" title="G_FILE_ATTRIBUTE_GVFS_BACKEND">G_FILE_ATTRIBUTE_GVFS_BACKEND</a>
147 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-SELINUX-CONTEXT:CAPS" title="G_FILE_ATTRIBUTE_SELINUX_CONTEXT">G_FILE_ATTRIBUTE_SELINUX_CONTEXT</a>
148 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TRASH-ITEM-COUNT:CAPS" title="G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT">G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT</a>
149 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-USE-PREVIEW:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW">G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</a>
150 #define             <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DESCRIPTION:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION">G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION</a>
151 <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         <a class="link" href="GFileInfo.html#g-file-info-new" title="g_file_info_new ()">g_file_info_new</a>                     (void);
152 <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         <a class="link" href="GFileInfo.html#g-file-info-dup" title="g_file_info_dup ()">g_file_info_dup</a>                     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *other);
153 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-copy-into" title="g_file_info_copy_into ()">g_file_info_copy_into</a>               (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *src_info,
154                                                          <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *dest_info);
155 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-has-attribute" title="g_file_info_has_attribute ()">g_file_info_has_attribute</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
156                                                          const <span class="returnvalue">char</span> *attribute);
157 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-has-namespace" title="g_file_info_has_namespace ()">g_file_info_has_namespace</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
158                                                          const <span class="returnvalue">char</span> *name_space);
159 <span class="returnvalue">char</span> **             <a class="link" href="GFileInfo.html#g-file-info-list-attributes" title="g_file_info_list_attributes ()">g_file_info_list_attributes</a>         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
160                                                          const <span class="returnvalue">char</span> *name_space);
161 <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a>  <a class="link" href="GFileInfo.html#g-file-info-get-attribute-type" title="g_file_info_get_attribute_type ()">g_file_info_get_attribute_type</a>      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
162                                                          const <span class="returnvalue">char</span> *attribute);
163 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-remove-attribute" title="g_file_info_remove_attribute ()">g_file_info_remove_attribute</a>        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
164                                                          const <span class="returnvalue">char</span> *attribute);
165 <span class="returnvalue">char</span> *              <a class="link" href="GFileInfo.html#g-file-info-get-attribute-as-string" title="g_file_info_get_attribute_as_string ()">g_file_info_get_attribute_as_string</a> (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
166                                                          const <span class="returnvalue">char</span> *attribute);
167 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-get-attribute-data" title="g_file_info_get_attribute_data ()">g_file_info_get_attribute_data</a>      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
168                                                          const <span class="returnvalue">char</span> *attribute,
169                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> *type,
170                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> *value_pp,
171                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> *status);
172 <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a>  <a class="link" href="GFileInfo.html#g-file-info-get-attribute-status" title="g_file_info_get_attribute_status ()">g_file_info_get_attribute_status</a>  (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
173                                                          const <span class="returnvalue">char</span> *attribute);
174 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-attribute-string" title="g_file_info_get_attribute_string ()">g_file_info_get_attribute_string</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
175                                                          const <span class="returnvalue">char</span> *attribute);
176 <span class="returnvalue">char</span> **             <a class="link" href="GFileInfo.html#g-file-info-get-attribute-stringv" title="g_file_info_get_attribute_stringv ()">g_file_info_get_attribute_stringv</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
177                                                          const <span class="returnvalue">char</span> *attribute);
178 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-attribute-byte-string" title="g_file_info_get_attribute_byte_string ()">g_file_info_get_attribute_byte_string</a>
179                                                         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
180                                                          const <span class="returnvalue">char</span> *attribute);
181 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-get-attribute-boolean" title="g_file_info_get_attribute_boolean ()">g_file_info_get_attribute_boolean</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
182                                                          const <span class="returnvalue">char</span> *attribute);
183 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             <a class="link" href="GFileInfo.html#g-file-info-get-attribute-uint32" title="g_file_info_get_attribute_uint32 ()">g_file_info_get_attribute_uint32</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
184                                                          const <span class="returnvalue">char</span> *attribute);
185 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              <a class="link" href="GFileInfo.html#g-file-info-get-attribute-int32" title="g_file_info_get_attribute_int32 ()">g_file_info_get_attribute_int32</a>     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
186                                                          const <span class="returnvalue">char</span> *attribute);
187 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>             <a class="link" href="GFileInfo.html#g-file-info-get-attribute-uint64" title="g_file_info_get_attribute_uint64 ()">g_file_info_get_attribute_uint64</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
188                                                          const <span class="returnvalue">char</span> *attribute);
189 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              <a class="link" href="GFileInfo.html#g-file-info-get-attribute-int64" title="g_file_info_get_attribute_int64 ()">g_file_info_get_attribute_int64</a>     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
190                                                          const <span class="returnvalue">char</span> *attribute);
191 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *           <a class="link" href="GFileInfo.html#g-file-info-get-attribute-object" title="g_file_info_get_attribute_object ()">g_file_info_get_attribute_object</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
192                                                          const <span class="returnvalue">char</span> *attribute);
193 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute" title="g_file_info_set_attribute ()">g_file_info_set_attribute</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
194                                                          const <span class="returnvalue">char</span> *attribute,
195                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> type,
196                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> value_p);
197 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-set-attribute-status" title="g_file_info_set_attribute_status ()">g_file_info_set_attribute_status</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
198                                                          const <span class="returnvalue">char</span> *attribute,
199                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> status);
200 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-string" title="g_file_info_set_attribute_string ()">g_file_info_set_attribute_string</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
201                                                          const <span class="returnvalue">char</span> *attribute,
202                                                          const <span class="returnvalue">char</span> *attr_value);
203 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-stringv" title="g_file_info_set_attribute_stringv ()">g_file_info_set_attribute_stringv</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
204                                                          const <span class="returnvalue">char</span> *attribute,
205                                                          <span class="returnvalue">char</span> **attr_value);
206 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-byte-string" title="g_file_info_set_attribute_byte_string ()">g_file_info_set_attribute_byte_string</a>
207                                                         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
208                                                          const <span class="returnvalue">char</span> *attribute,
209                                                          const <span class="returnvalue">char</span> *attr_value);
210 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-boolean" title="g_file_info_set_attribute_boolean ()">g_file_info_set_attribute_boolean</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
211                                                          const <span class="returnvalue">char</span> *attribute,
212                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> attr_value);
213 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-uint32" title="g_file_info_set_attribute_uint32 ()">g_file_info_set_attribute_uint32</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
214                                                          const <span class="returnvalue">char</span> *attribute,
215                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> attr_value);
216 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-int32" title="g_file_info_set_attribute_int32 ()">g_file_info_set_attribute_int32</a>     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
217                                                          const <span class="returnvalue">char</span> *attribute,
218                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> attr_value);
219 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-uint64" title="g_file_info_set_attribute_uint64 ()">g_file_info_set_attribute_uint64</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
220                                                          const <span class="returnvalue">char</span> *attribute,
221                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> attr_value);
222 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-int64" title="g_file_info_set_attribute_int64 ()">g_file_info_set_attribute_int64</a>     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
223                                                          const <span class="returnvalue">char</span> *attribute,
224                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> attr_value);
225 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-object" title="g_file_info_set_attribute_object ()">g_file_info_set_attribute_object</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
226                                                          const <span class="returnvalue">char</span> *attribute,
227                                                          <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *attr_value);
228 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-clear-status" title="g_file_info_clear_status ()">g_file_info_clear_status</a>            (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
229 <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a>           <a class="link" href="GFileInfo.html#g-file-info-get-file-type" title="g_file_info_get_file_type ()">g_file_info_get_file_type</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
230 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-get-is-hidden" title="g_file_info_get_is_hidden ()">g_file_info_get_is_hidden</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
231 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-get-is-backup" title="g_file_info_get_is_backup ()">g_file_info_get_is_backup</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
232 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-info-get-is-symlink" title="g_file_info_get_is_symlink ()">g_file_info_get_is_symlink</a>          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
233 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-name" title="g_file_info_get_name ()">g_file_info_get_name</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
234 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-display-name" title="g_file_info_get_display_name ()">g_file_info_get_display_name</a>        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
235 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-edit-name" title="g_file_info_get_edit_name ()">g_file_info_get_edit_name</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
236 <a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *             <a class="link" href="GFileInfo.html#g-file-info-get-icon" title="g_file_info_get_icon ()">g_file_info_get_icon</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
237 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-content-type" title="g_file_info_get_content_type ()">g_file_info_get_content_type</a>        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
238 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a>             <a class="link" href="GFileInfo.html#g-file-info-get-size" title="g_file_info_get_size ()">g_file_info_get_size</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
239 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-get-modification-time" title="g_file_info_get_modification_time ()">g_file_info_get_modification_time</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
240                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="returnvalue">GTimeVal</span></a> *result);
241 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-symlink-target" title="g_file_info_get_symlink_target ()">g_file_info_get_symlink_target</a>      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
242 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-info-get-etag" title="g_file_info_get_etag ()">g_file_info_get_etag</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
243 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              <a class="link" href="GFileInfo.html#g-file-info-get-sort-order" title="g_file_info_get_sort_order ()">g_file_info_get_sort_order</a>          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
244 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-attribute-mask" title="g_file_info_set_attribute_mask ()">g_file_info_set_attribute_mask</a>      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
245                                                          <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *mask);
246 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-unset-attribute-mask" title="g_file_info_unset_attribute_mask ()">g_file_info_unset_attribute_mask</a>    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);
247 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-file-type" title="g_file_info_set_file_type ()">g_file_info_set_file_type</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
248                                                          <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a> type);
249 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-is-hidden" title="g_file_info_set_is_hidden ()">g_file_info_set_is_hidden</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
250                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> is_hidden);
251 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-is-symlink" title="g_file_info_set_is_symlink ()">g_file_info_set_is_symlink</a>          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
252                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> is_symlink);
253 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-name" title="g_file_info_set_name ()">g_file_info_set_name</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
254                                                          const <span class="returnvalue">char</span> *name);
255 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-display-name" title="g_file_info_set_display_name ()">g_file_info_set_display_name</a>        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
256                                                          const <span class="returnvalue">char</span> *display_name);
257 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-edit-name" title="g_file_info_set_edit_name ()">g_file_info_set_edit_name</a>           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
258                                                          const <span class="returnvalue">char</span> *edit_name);
259 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-icon" title="g_file_info_set_icon ()">g_file_info_set_icon</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
260                                                          <a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *icon);
261 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-content-type" title="g_file_info_set_content_type ()">g_file_info_set_content_type</a>        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
262                                                          const <span class="returnvalue">char</span> *content_type);
263 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-size" title="g_file_info_set_size ()">g_file_info_set_size</a>                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
264                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a> size);
265 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-modification-time" title="g_file_info_set_modification_time ()">g_file_info_set_modification_time</a>   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
266                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="returnvalue">GTimeVal</span></a> *mtime);
267 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-symlink-target" title="g_file_info_set_symlink_target ()">g_file_info_set_symlink_target</a>      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
268                                                          const <span class="returnvalue">char</span> *symlink_target);
269 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-info-set-sort-order" title="g_file_info_set_sort_order ()">g_file_info_set_sort_order</a>          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
270                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> sort_order);
271 <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-new" title="g_file_attribute_matcher_new ()">g_file_attribute_matcher_new</a>    (const <span class="returnvalue">char</span> *attributes);
272 <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-ref" title="g_file_attribute_matcher_ref ()">g_file_attribute_matcher_ref</a>    (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);
273 <span class="returnvalue">void</span>                <a class="link" href="GFileInfo.html#g-file-attribute-matcher-unref" title="g_file_attribute_matcher_unref ()">g_file_attribute_matcher_unref</a>      (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);
274 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-attribute-matcher-matches" title="g_file_attribute_matcher_matches ()">g_file_attribute_matcher_matches</a>    (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
275                                                          const <span class="returnvalue">char</span> *attribute);
276 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-attribute-matcher-matches-only" title="g_file_attribute_matcher_matches_only ()">g_file_attribute_matcher_matches_only</a>
277                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
278                                                          const <span class="returnvalue">char</span> *attribute);
279 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileInfo.html#g-file-attribute-matcher-enumerate-namespace" title="g_file_attribute_matcher_enumerate_namespace ()">g_file_attribute_matcher_enumerate_namespace</a>
280                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
281                                                          const <span class="returnvalue">char</span> *ns);
282 const <span class="returnvalue">char</span> *        <a class="link" href="GFileInfo.html#g-file-attribute-matcher-enumerate-next" title="g_file_attribute_matcher_enumerate_next ()">g_file_attribute_matcher_enumerate_next</a>
283                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);
284 </pre>
285 </div>
286 <div class="refsect1" title="Object Hierarchy">
287 <a name="GFileInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
288 <pre class="synopsis">
289   <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
290    +----GFileInfo
291 </pre>
292 </div>
293 <div class="refsect1" title="Description">
294 <a name="GFileInfo.description"></a><h2>Description</h2>
295 <p>
296 Functionality for manipulating basic metadata for files. <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>
297 implements methods for getting information that all files should
298 contain, and allows for manipulation of extended attributes.
299 </p>
300 <p>
301 See <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a> for more
302 information on how GIO handles file attributes.
303 </p>
304 <p>
305 To obtain a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, use <a class="link" href="GFile.html#g-file-query-info" title="g_file_query_info ()"><code class="function">g_file_query_info()</code></a> (or its
306 async variant). To obtain a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for a file input or output
307 stream, use <a class="link" href="GFileInputStream.html#g-file-input-stream-query-info" title="g_file_input_stream_query_info ()"><code class="function">g_file_input_stream_query_info()</code></a> or
308 <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info" title="g_file_output_stream_query_info ()"><code class="function">g_file_output_stream_query_info()</code></a> (or their async variants).
309 </p>
310 <p>
311 To change the actual attributes of a file, you should then set the
312 attribute in the <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> and call <a class="link" href="GFile.html#g-file-set-attributes-from-info" title="g_file_set_attributes_from_info ()"><code class="function">g_file_set_attributes_from_info()</code></a>
313 or <a class="link" href="GFile.html#g-file-set-attributes-async" title="g_file_set_attributes_async ()"><code class="function">g_file_set_attributes_async()</code></a> on a GFile.
314 </p>
315 <p>
316 However, not all attributes can be changed in the file. For instance,
317 the actual size of a file cannot be changed via <a class="link" href="GFileInfo.html#g-file-info-set-size" title="g_file_info_set_size ()"><code class="function">g_file_info_set_size()</code></a>.
318 You may call <a class="link" href="GFile.html#g-file-query-settable-attributes" title="g_file_query_settable_attributes ()"><code class="function">g_file_query_settable_attributes()</code></a> and
319 <a class="link" href="GFile.html#g-file-query-writable-namespaces" title="g_file_query_writable_namespaces ()"><code class="function">g_file_query_writable_namespaces()</code></a> to discover the settable attributes
320 of a particular file at runtime.
321 </p>
322 <p>
323 <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> allows for searching through a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for
324 attributes.</p>
325 </div>
326 <div class="refsect1" title="Details">
327 <a name="GFileInfo.details"></a><h2>Details</h2>
328 <div class="refsect2" title="GFileAttributeMatcher">
329 <a name="GFileAttributeMatcher"></a><h3>GFileAttributeMatcher</h3>
330 <pre class="programlisting">typedef struct _GFileAttributeMatcher GFileAttributeMatcher;</pre>
331 <p>
332 Determines if a string matches a file attribute.</p>
333 </div>
334 <hr>
335 <div class="refsect2" title="enum GFileType">
336 <a name="GFileType"></a><h3>enum GFileType</h3>
337 <pre class="programlisting">typedef enum {
338   G_FILE_TYPE_UNKNOWN = 0,
339   G_FILE_TYPE_REGULAR,
340   G_FILE_TYPE_DIRECTORY,
341   G_FILE_TYPE_SYMBOLIC_LINK,
342   G_FILE_TYPE_SPECIAL, /* socket, fifo, blockdev, chardev */
343   G_FILE_TYPE_SHORTCUT,
344   G_FILE_TYPE_MOUNTABLE
345 } GFileType;
346 </pre>
347 <p>
348 Indicates the file's on-disk type.</p>
349 <div class="variablelist"><table border="0">
350 <col align="left" valign="top">
351 <tbody>
352 <tr>
353 <td><p><a name="G-FILE-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_UNKNOWN</code></span></p></td>
354 <td> File's type is unknown.
355 </td>
356 </tr>
357 <tr>
358 <td><p><a name="G-FILE-TYPE-REGULAR:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_REGULAR</code></span></p></td>
359 <td> File handle represents a regular file.
360 </td>
361 </tr>
362 <tr>
363 <td><p><a name="G-FILE-TYPE-DIRECTORY:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_DIRECTORY</code></span></p></td>
364 <td> File handle represents a directory.
365 </td>
366 </tr>
367 <tr>
368 <td><p><a name="G-FILE-TYPE-SYMBOLIC-LINK:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SYMBOLIC_LINK</code></span></p></td>
369 <td> File handle represents a symbolic link
370    (Unix systems).
371 </td>
372 </tr>
373 <tr>
374 <td><p><a name="G-FILE-TYPE-SPECIAL:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SPECIAL</code></span></p></td>
375 <td> File is a "special" file, such as a socket, fifo,
376    block device, or character device.
377 </td>
378 </tr>
379 <tr>
380 <td><p><a name="G-FILE-TYPE-SHORTCUT:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SHORTCUT</code></span></p></td>
381 <td> File is a shortcut (Windows systems).
382 </td>
383 </tr>
384 <tr>
385 <td><p><a name="G-FILE-TYPE-MOUNTABLE:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_MOUNTABLE</code></span></p></td>
386 <td> File is a mountable location.
387 </td>
388 </tr>
389 </tbody>
390 </table></div>
391 </div>
392 <hr>
393 <div class="refsect2" title="GFileInfo">
394 <a name="GFileInfo-struct"></a><h3>GFileInfo</h3>
395 <pre class="programlisting">typedef struct _GFileInfo GFileInfo;</pre>
396 <p>
397 Stores information about a file system object referenced by a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.</p>
398 </div>
399 <hr>
400 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_TYPE">
401 <a name="G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_TYPE</h3>
402 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_TYPE "standard::type"                     /* uint32 (GFileType) */
403 </pre>
404 <p>
405 A key in the "standard" namespace for storing file types.
406 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.
407 The value for this key should contain a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a>.</p>
408 </div>
409 <hr>
410 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN">
411 <a name="G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</h3>
412 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "standard::is-hidden"           /* boolean */
413 </pre>
414 <p>
415 A key in the "standard" namespace for checking if a file is hidden.
416 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
417 </div>
418 <hr>
419 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP">
420 <a name="G-FILE-ATTRIBUTE-STANDARD-IS-BACKUP:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP</h3>
421 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "standard::is-backup"           /* boolean */
422 </pre>
423 <p>
424 A key in the "standard" namespace for checking if a file is a backup file.
425 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
426 </div>
427 <hr>
428 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK">
429 <a name="G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</h3>
430 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK "standard::is-symlink"         /* boolean */
431 </pre>
432 <p>
433 A key in the "standard" namespace for checking if the file is a symlink.
434 Typically the actual type is something else, if we followed the symlink
435 to get the type.
436 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
437 </div>
438 <hr>
439 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL">
440 <a name="G-FILE-ATTRIBUTE-STANDARD-IS-VIRTUAL:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL</h3>
441 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL "standard::is-virtual"         /* boolean */
442 </pre>
443 <p>
444 A key in the "standard" namespace for checking if a file is virtual.
445 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
446 </div>
447 <hr>
448 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_NAME">
449 <a name="G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_NAME</h3>
450 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_NAME "standard::name"                     /* byte string */
451 </pre>
452 <p>
453 A key in the "standard" namespace for getting the name of the file.
454 The name is the on-disk filename which may not be in any known encoding,
455 and can thus not be generally displayed as is.
456 Use <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME"><span class="type">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</span></a> if you need to display the
457 name in a user interface.
458 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>.</p>
459 </div>
460 <hr>
461 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME">
462 <a name="G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</h3>
463 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "standard::display-name"     /* string */
464 </pre>
465 <p>
466 A key in the "standard" namespace for getting the display name of the file.
467 A display name is guaranteed to be in UTF8 and can thus be displayed in
468 the UI.
469 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
470 </div>
471 <hr>
472 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME">
473 <a name="G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</h3>
474 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME "standard::edit-name"           /* string */
475 </pre>
476 <p>
477 A key in the "standard" namespace for edit name of the file.
478 An edit name is similar to the display name, but it is meant to be
479 used when you want to rename the file in the UI. The display name
480 might contain information you don't want in the new filename (such as
481 "(invalid unicode)" if the filename was in an invalid encoding).
482 </p>
483 <p>
484 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
485 </div>
486 <hr>
487 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_COPY_NAME">
488 <a name="G-FILE-ATTRIBUTE-STANDARD-COPY-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_COPY_NAME</h3>
489 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_COPY_NAME "standard::copy-name"           /* string */
490 </pre>
491 <p>
492 A key in the "standard" namespace for getting the copy name of the file.
493 The copy name is an optional version of the name. If available it's always
494 in UTF8, and corresponds directly to the original filename (only transcoded to
495 UTF8). This is useful if you want to copy the file to another filesystem that
496 might have a different encoding. If the filename is not a valid string in the
497 encoding selected for the filesystem it is in then the copy name will not be set.
498 </p>
499 <p>
500 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
501 </div>
502 <hr>
503 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_ICON">
504 <a name="G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_ICON</h3>
505 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_ICON "standard::icon"                     /* object (GIcon) */
506 </pre>
507 <p>
508 A key in the "standard" namespace for getting the icon for the file.
509 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-OBJECT:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_OBJECT</code></a>.
510 The value for this key should contain a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</p>
511 </div>
512 <hr>
513 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE">
514 <a name="G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</h3>
515 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "standard::content-type"     /* string */
516 </pre>
517 <p>
518 A key in the "standard" namespace for getting the content type of the file.
519 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.
520 The value for this key should contain a valid content type.</p>
521 </div>
522 <hr>
523 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE">
524 <a name="G-FILE-ATTRIBUTE-STANDARD-FAST-CONTENT-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE</h3>
525 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE "standard::fast-content-type" /* string */
526 </pre>
527 <p>
528 A key in the "standard" namespace for getting the fast content type.
529 The fast content type isn't as reliable as the regular one, as it
530 only uses the filename to guess it, but it is faster to calculate than the
531 regular content type.
532 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
533 </div>
534 <hr>
535 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_SIZE">
536 <a name="G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SIZE</h3>
537 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SIZE "standard::size"                     /* uint64 */
538 </pre>
539 <p>
540 A key in the "standard" namespace for getting the file's size (in bytes).
541 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
542 </div>
543 <hr>
544 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE">
545 <a name="G-FILE-ATTRIBUTE-STANDARD-ALLOCATED-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE</h3>
546 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE "standard::allocated-size" /* uint64 */
547 </pre>
548 <p>
549 A key in the "standard" namespace for getting the amount of disk space
550 that is consumed by the file (in bytes).  This will generally be larger
551 than the file size (due to block size overhead) but can occasionally be
552 smaller (for example, for sparse files).
553 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
554 <p class="since">Since 2.20</p>
555 </div>
556 <hr>
557 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET">
558 <a name="G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</h3>
559 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET "standard::symlink-target" /* byte string */
560 </pre>
561 <p>
562 A key in the "standard" namespace for getting the symlink target, if the file
563 is a symlink. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
564 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>.</p>
565 </div>
566 <hr>
567 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_TARGET_URI">
568 <a name="G-FILE-ATTRIBUTE-STANDARD-TARGET-URI:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_TARGET_URI</h3>
569 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_TARGET_URI "standard::target-uri"         /* string */
570 </pre>
571 <p>
572 A key in the "standard" namespace for getting the target URI for the file, in
573 the case of <a class="link" href="GFileInfo.html#G-FILE-TYPE-SHORTCUT:CAPS"><code class="literal">G_FILE_TYPE_SHORTCUT</code></a> or <a class="link" href="GFileInfo.html#G-FILE-TYPE-MOUNTABLE:CAPS"><code class="literal">G_FILE_TYPE_MOUNTABLE</code></a> files.
574 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
575 </div>
576 <hr>
577 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER">
578 <a name="G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</h3>
579 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER "standard::sort-order"         /* int32  */
580 </pre>
581 <p>
582 A key in the "standard" namespace for setting the sort order of a file.
583 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-INT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_INT32</code></a>.
584 An example use would be in file managers, which would use this key
585 to set the order files are displayed. Files with smaller sort order
586 should be sorted first, and files without sort order as if sort order
587 was zero.</p>
588 </div>
589 <hr>
590 <div class="refsect2" title="G_FILE_ATTRIBUTE_ETAG_VALUE">
591 <a name="G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ETAG_VALUE</h3>
592 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ETAG_VALUE "etag::value"                 /* string */
593 </pre>
594 <p>
595 A key in the "etag" namespace for getting the value of the file's
596 entity tag. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
597 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
598 </div>
599 <hr>
600 <div class="refsect2" title="G_FILE_ATTRIBUTE_ID_FILE">
601 <a name="G-FILE-ATTRIBUTE-ID-FILE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ID_FILE</h3>
602 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ID_FILE "id::file"                     /* string */
603 </pre>
604 <p>
605 A key in the "id" namespace for getting a file identifier.
606 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.
607 An example use would be during listing files, to avoid recursive
608 directory scanning.</p>
609 </div>
610 <hr>
611 <div class="refsect2" title="G_FILE_ATTRIBUTE_ID_FILESYSTEM">
612 <a name="G-FILE-ATTRIBUTE-ID-FILESYSTEM:CAPS"></a><h3>G_FILE_ATTRIBUTE_ID_FILESYSTEM</h3>
613 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ID_FILESYSTEM "id::filesystem"         /* string */
614 </pre>
615 <p>
616 A key in the "id" namespace for getting the file system identifier.
617 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.
618 An example use would be during drag and drop to see if the source
619 and target are on the same filesystem (default to move) or not (default
620 to copy).</p>
621 </div>
622 <hr>
623 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_READ">
624 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-READ:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_READ</h3>
625 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_READ "access::can-read"       /* boolean */
626 </pre>
627 <p>
628 A key in the "access" namespace for getting read privileges.
629 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
630 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to read the file.</p>
631 </div>
632 <hr>
633 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE">
634 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-WRITE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE</h3>
635 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE "access::can-write"     /* boolean */
636 </pre>
637 <p>
638 A key in the "access" namespace for getting write privileges.
639 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
640 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to write to the file.</p>
641 </div>
642 <hr>
643 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE">
644 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-EXECUTE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE</h3>
645 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE "access::can-execute" /* boolean */
646 </pre>
647 <p>
648 A key in the "access" namespace for getting execution privileges.
649 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
650 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to execute the file.</p>
651 </div>
652 <hr>
653 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE">
654 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-DELETE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE</h3>
655 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE "access::can-delete"   /* boolean */
656 </pre>
657 <p>
658 A key in the "access" namespace for checking deletion privileges.
659 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
660 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to delete the file.</p>
661 </div>
662 <hr>
663 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH">
664 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-TRASH:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH</h3>
665 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH "access::can-trash"     /* boolean */
666 </pre>
667 <p>
668 A key in the "access" namespace for checking trashing privileges.
669 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
670 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to move the file to
671 the trash.</p>
672 </div>
673 <hr>
674 <div class="refsect2" title="G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME">
675 <a name="G-FILE-ATTRIBUTE-ACCESS-CAN-RENAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME</h3>
676 <pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME "access::can-rename"   /* boolean */
677 </pre>
678 <p>
679 A key in the "access" namespace for checking renaming privileges.
680 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.
681 This attribute will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to rename the file.</p>
682 </div>
683 <hr>
684 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT">
685 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-MOUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT</h3>
686 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT "mountable::can-mount"     /* boolean */
687 </pre>
688 <p>
689 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable.
690 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
691 </div>
692 <hr>
693 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT">
694 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-UNMOUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</h3>
695 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT "mountable::can-unmount" /* boolean */
696 </pre>
697 <p>
698 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE)  is unmountable.
699 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
700 </div>
701 <hr>
702 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT">
703 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-EJECT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</h3>
704 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT "mountable::can-eject"     /* boolean */
705 </pre>
706 <p>
707 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected.
708 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
709 </div>
710 <hr>
711 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE">
712 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</h3>
713 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE "mountable::unix-device" /* uint32 */
714 </pre>
715 <p>
716 A key in the "mountable" namespace for getting the unix device.
717 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
718 </div>
719 <hr>
720 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE">
721 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE-FILE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE</h3>
722 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE "mountable::unix-device-file" /* string */
723 </pre>
724 <p>
725 A key in the "mountable" namespace for getting the unix device file.
726 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
727 <p class="since">Since 2.22</p>
728 </div>
729 <hr>
730 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI">
731 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-HAL-UDI:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</h3>
732 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI "mountable::hal-udi"         /* string */
733 </pre>
734 <p>
735 A key in the "mountable" namespace for getting the HAL UDI for the mountable
736 file. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
737 </div>
738 <hr>
739 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL">
740 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-POLL:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL</h3>
741 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL "mountable::can-poll"      /* boolean */
742 </pre>
743 <p>
744 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be polled.
745 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
746 <p class="since">Since 2.22</p>
747 </div>
748 <hr>
749 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC">
750 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-IS-MEDIA-CHECK-AUTOMATIC:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC</h3>
751 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC "mountable::is-media-check-automatic"      /* boolean */
752 </pre>
753 <p>
754 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE)
755 is automatically polled for media.
756 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
757 <p class="since">Since 2.22</p>
758 </div>
759 <hr>
760 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START">
761 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START</h3>
762 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START "mountable::can-start"     /* boolean */
763 </pre>
764 <p>
765 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started.
766 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
767 <p class="since">Since 2.22</p>
768 </div>
769 <hr>
770 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED">
771 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START-DEGRADED:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED</h3>
772 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED "mountable::can-start-degraded"     /* boolean */
773 </pre>
774 <p>
775 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started
776 degraded.
777 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
778 <p class="since">Since 2.22</p>
779 </div>
780 <hr>
781 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP">
782 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-STOP:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP</h3>
783 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP "mountable::can-stop"      /* boolean */
784 </pre>
785 <p>
786 A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be stopped.
787 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
788 <p class="since">Since 2.22</p>
789 </div>
790 <hr>
791 <div class="refsect2" title="G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE">
792 <a name="G-FILE-ATTRIBUTE-MOUNTABLE-START-STOP-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE</h3>
793 <pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE "mountable::start-stop-type" /* uint32 (GDriveStartStopType) */
794 </pre>
795 <p>
796 A key in the "mountable" namespace for getting the <a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType"><span class="type">GDriveStartStopType</span></a>.
797 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
798 <p class="since">Since 2.22</p>
799 </div>
800 <hr>
801 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_MODIFIED">
802 <a name="G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_MODIFIED</h3>
803 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_MODIFIED "time::modified"           /* uint64 */
804 </pre>
805 <p>
806 A key in the "time" namespace for getting the time the file was last
807 modified. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
808 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, and contains the UNIX time since the
809 file was modified.</p>
810 </div>
811 <hr>
812 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC">
813 <a name="G-FILE-ATTRIBUTE-TIME-MODIFIED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC</h3>
814 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC "time::modified-usec" /* uint32 */
815 </pre>
816 <p>
817 A key in the "time" namespace for getting the miliseconds of the time
818 the file was last modified. This should be used in conjunction with
819 <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED"><span class="type">G_FILE_ATTRIBUTE_TIME_MODIFIED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
820 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
821 </div>
822 <hr>
823 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_ACCESS">
824 <a name="G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_ACCESS</h3>
825 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_ACCESS "time::access"               /* uint64 */
826 </pre>
827 <p>
828 A key in the "time" namespace for getting the time the file was last
829 accessed. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
830 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, and contains the UNIX time since the
831 file was last accessed.</p>
832 </div>
833 <hr>
834 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_ACCESS_USEC">
835 <a name="G-FILE-ATTRIBUTE-TIME-ACCESS-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_ACCESS_USEC</h3>
836 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_ACCESS_USEC "time::access-usec"     /* uint32 */
837 </pre>
838 <p>
839 A key in the "time" namespace for getting the microseconds of the time
840 the file was last accessed. This should be used in conjunction with
841 <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS"><span class="type">G_FILE_ATTRIBUTE_TIME_ACCESS</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
842 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
843 </div>
844 <hr>
845 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_CHANGED">
846 <a name="G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CHANGED</h3>
847 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CHANGED "time::changed"             /* uint64 */
848 </pre>
849 <p>
850 A key in the "time" namespace for getting the time the file was last
851 changed. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>,
852 and contains the UNIX time since the file was last changed.
853 </p>
854 <p>
855 This corresponds to the traditional UNIX ctime.</p>
856 </div>
857 <hr>
858 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_CHANGED_USEC">
859 <a name="G-FILE-ATTRIBUTE-TIME-CHANGED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CHANGED_USEC</h3>
860 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CHANGED_USEC "time::changed-usec"   /* uint32 */
861 </pre>
862 <p>
863 A key in the "time" namespace for getting the microseconds of the time
864 the file was last changed. This should be used in conjunction with
865 <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED"><span class="type">G_FILE_ATTRIBUTE_TIME_CHANGED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
866 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
867 </div>
868 <hr>
869 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_CREATED">
870 <a name="G-FILE-ATTRIBUTE-TIME-CREATED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CREATED</h3>
871 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CREATED "time::created"             /* uint64 */
872 </pre>
873 <p>
874 A key in the "time" namespace for getting the time the file was created.
875 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>,
876 and contains the UNIX time since the file was created.
877 </p>
878 <p>
879 This corresponds to the NTFS ctime.</p>
880 </div>
881 <hr>
882 <div class="refsect2" title="G_FILE_ATTRIBUTE_TIME_CREATED_USEC">
883 <a name="G-FILE-ATTRIBUTE-TIME-CREATED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CREATED_USEC</h3>
884 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CREATED_USEC "time::created-usec"   /* uint32 */
885 </pre>
886 <p>
887 A key in the "time" namespace for getting the microseconds of the time
888 the file was created. This should be used in conjunction with
889 <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED"><span class="type">G_FILE_ATTRIBUTE_TIME_CREATED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
890 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
891 </div>
892 <hr>
893 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_DEVICE">
894 <a name="G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_DEVICE</h3>
895 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_DEVICE "unix::device"               /* uint32 */
896 </pre>
897 <p>
898 A key in the "unix" namespace for getting the device id of the device the
899 file is located on (see <code class="function">stat()</code> documentation). This attribute is only
900 available for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
901 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
902 </div>
903 <hr>
904 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_INODE">
905 <a name="G-FILE-ATTRIBUTE-UNIX-INODE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_INODE</h3>
906 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_INODE "unix::inode"                 /* uint64 */
907 </pre>
908 <p>
909 A key in the "unix" namespace for getting the inode of the file.
910 This attribute is only available for UNIX file systems. Corresponding
911 <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
912 </div>
913 <hr>
914 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_MODE">
915 <a name="G-FILE-ATTRIBUTE-UNIX-MODE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_MODE</h3>
916 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode"                   /* uint32 */
917 </pre>
918 <p>
919 A key in the "unix" namespace for getting the mode of the file
920 (e.g. whether the file is a regular file, symlink, etc). See <code class="function">lstat()</code>
921 documentation. This attribute is only available for UNIX file systems.
922 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
923 </div>
924 <hr>
925 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_NLINK">
926 <a name="G-FILE-ATTRIBUTE-UNIX-NLINK:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_NLINK</h3>
927 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_NLINK "unix::nlink"                 /* uint32 */
928 </pre>
929 <p>
930 A key in the "unix" namespace for getting the number of hard links
931 for a file. See <code class="function">lstat()</code> documentation. This attribute is only available
932 for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
933 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
934 </div>
935 <hr>
936 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_UID">
937 <a name="G-FILE-ATTRIBUTE-UNIX-UID:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_UID</h3>
938 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_UID "unix::uid"                     /* uint32 */
939 </pre>
940 <p>
941 A key in the "unix" namespace for getting the user ID for the file.
942 This attribute is only available for UNIX file systems.
943 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
944 </div>
945 <hr>
946 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_GID">
947 <a name="G-FILE-ATTRIBUTE-UNIX-GID:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_GID</h3>
948 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_GID "unix::gid"                     /* uint32 */
949 </pre>
950 <p>
951 A key in the "unix" namespace for getting the group ID for the file.
952 This attribute is only available for UNIX file systems.
953 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
954 </div>
955 <hr>
956 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_RDEV">
957 <a name="G-FILE-ATTRIBUTE-UNIX-RDEV:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_RDEV</h3>
958 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_RDEV "unix::rdev"                   /* uint32 */
959 </pre>
960 <p>
961 A key in the "unix" namespace for getting the device ID for the file
962 (if it is a special file). See <code class="function">lstat()</code> documentation. This attribute
963 is only available for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a>
964 is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
965 </div>
966 <hr>
967 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE">
968 <a name="G-FILE-ATTRIBUTE-UNIX-BLOCK-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE</h3>
969 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE "unix::block-size"       /* uint32 */
970 </pre>
971 <p>
972 A key in the "unix" namespace for getting the block size for the file
973 system. This attribute is only available for UNIX file systems.
974 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
975 </div>
976 <hr>
977 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_BLOCKS">
978 <a name="G-FILE-ATTRIBUTE-UNIX-BLOCKS:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_BLOCKS</h3>
979 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_BLOCKS "unix::blocks"               /* uint64 */
980 </pre>
981 <p>
982 A key in the "unix" namespace for getting the number of blocks allocated
983 for the file. This attribute is only available for UNIX file systems.
984 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
985 </div>
986 <hr>
987 <div class="refsect2" title="G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT">
988 <a name="G-FILE-ATTRIBUTE-UNIX-IS-MOUNTPOINT:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT</h3>
989 <pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT "unix::is-mountpoint" /* boolean */
990 </pre>
991 <p>
992 A key in the "unix" namespace for checking if the file represents a
993 UNIX mount point. This attribute is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is a UNIX mount
994 point. This attribute is only available for UNIX file systems.
995 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
996 </div>
997 <hr>
998 <div class="refsect2" title="G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE">
999 <a name="G-FILE-ATTRIBUTE-DOS-IS-ARCHIVE:CAPS"></a><h3>G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE</h3>
1000 <pre class="programlisting">#define G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE "dos::is-archive"         /* boolean */
1001 </pre>
1002 <p>
1003 A key in the "dos" namespace for checking if the file's archive flag
1004 is set. This attribute is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the archive flag is set. This attribute
1005 is only available for DOS file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a>
1006 is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
1007 </div>
1008 <hr>
1009 <div class="refsect2" title="G_FILE_ATTRIBUTE_DOS_IS_SYSTEM">
1010 <a name="G-FILE-ATTRIBUTE-DOS-IS-SYSTEM:CAPS"></a><h3>G_FILE_ATTRIBUTE_DOS_IS_SYSTEM</h3>
1011 <pre class="programlisting">#define G_FILE_ATTRIBUTE_DOS_IS_SYSTEM "dos::is-system"           /* boolean */
1012 </pre>
1013 <p>
1014 A key in the "dos" namespace for checking if the file's backup flag
1015 is set. This attribute is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the backup flag is set. This attribute
1016 is only available for DOS file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a>
1017 is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
1018 </div>
1019 <hr>
1020 <div class="refsect2" title="G_FILE_ATTRIBUTE_OWNER_USER">
1021 <a name="G-FILE-ATTRIBUTE-OWNER-USER:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_USER</h3>
1022 <pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_USER "owner::user"                 /* string */
1023 </pre>
1024 <p>
1025 A key in the "owner" namespace for getting the user name of the
1026 file's owner. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1027 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1028 </div>
1029 <hr>
1030 <div class="refsect2" title="G_FILE_ATTRIBUTE_OWNER_USER_REAL">
1031 <a name="G-FILE-ATTRIBUTE-OWNER-USER-REAL:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_USER_REAL</h3>
1032 <pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_USER_REAL "owner::user-real"       /* string */
1033 </pre>
1034 <p>
1035 A key in the "owner" namespace for getting the real name of the
1036 user that owns the file. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1037 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1038 </div>
1039 <hr>
1040 <div class="refsect2" title="G_FILE_ATTRIBUTE_OWNER_GROUP">
1041 <a name="G-FILE-ATTRIBUTE-OWNER-GROUP:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_GROUP</h3>
1042 <pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_GROUP "owner::group"               /* string */
1043 </pre>
1044 <p>
1045 A key in the "owner" namespace for getting the file owner's group.
1046 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1047 </div>
1048 <hr>
1049 <div class="refsect2" title="G_FILE_ATTRIBUTE_THUMBNAIL_PATH">
1050 <a name="G-FILE-ATTRIBUTE-THUMBNAIL-PATH:CAPS"></a><h3>G_FILE_ATTRIBUTE_THUMBNAIL_PATH</h3>
1051 <pre class="programlisting">#define G_FILE_ATTRIBUTE_THUMBNAIL_PATH "thumbnail::path"         /* bytestring */
1052 </pre>
1053 <p>
1054 A key in the "thumbnail" namespace for getting the path to the thumbnail
1055 image. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1056 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>.</p>
1057 </div>
1058 <hr>
1059 <div class="refsect2" title="G_FILE_ATTRIBUTE_THUMBNAILING_FAILED">
1060 <a name="G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS"></a><h3>G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</h3>
1061 <pre class="programlisting">#define G_FILE_ATTRIBUTE_THUMBNAILING_FAILED "thumbnail::failed"         /* boolean */
1062 </pre>
1063 <p>
1064 A key in the "thumbnail" namespace for checking if thumbnailing failed.
1065 This attribute is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if thumbnailing failed. Corresponding
1066 <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
1067 </div>
1068 <hr>
1069 <div class="refsect2" title="G_FILE_ATTRIBUTE_PREVIEW_ICON">
1070 <a name="G-FILE-ATTRIBUTE-PREVIEW-ICON:CAPS"></a><h3>G_FILE_ATTRIBUTE_PREVIEW_ICON</h3>
1071 <pre class="programlisting">#define G_FILE_ATTRIBUTE_PREVIEW_ICON "preview::icon"         /* object (GIcon) */
1072 </pre>
1073 <p>
1074 A key in the "preview" namespace for getting a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> that can be
1075 used to get preview of the file. For example, it may be a low
1076 resolution thumbnail without metadata. Corresponding
1077 <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-OBJECT:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_OBJECT</code></a>.  The value
1078 for this key should contain a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</p>
1079 <p class="since">Since 2.20</p>
1080 </div>
1081 <hr>
1082 <div class="refsect2" title="G_FILE_ATTRIBUTE_FILESYSTEM_SIZE">
1083 <a name="G-FILE-ATTRIBUTE-FILESYSTEM-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_SIZE</h3>
1084 <pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_SIZE "filesystem::size"                       /* uint64 */
1085 </pre>
1086 <p>
1087 A key in the "filesystem" namespace for getting the total size (in bytes) of the file system,
1088 used in <a class="link" href="GFile.html#g-file-query-filesystem-info" title="g_file_query_filesystem_info ()"><code class="function">g_file_query_filesystem_info()</code></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a>
1089 is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
1090 </div>
1091 <hr>
1092 <div class="refsect2" title="G_FILE_ATTRIBUTE_FILESYSTEM_FREE">
1093 <a name="G-FILE-ATTRIBUTE-FILESYSTEM-FREE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_FREE</h3>
1094 <pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_FREE "filesystem::free"                       /* uint64 */
1095 </pre>
1096 <p>
1097 A key in the "filesystem" namespace for getting the number of bytes of free space left on the
1098 file system. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1099 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>.</p>
1100 </div>
1101 <hr>
1102 <div class="refsect2" title="G_FILE_ATTRIBUTE_FILESYSTEM_TYPE">
1103 <a name="G-FILE-ATTRIBUTE-FILESYSTEM-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_TYPE</h3>
1104 <pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_TYPE "filesystem::type"                       /* string */
1105 </pre>
1106 <p>
1107 A key in the "filesystem" namespace for getting the file system's type.
1108 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1109 </div>
1110 <hr>
1111 <div class="refsect2" title="G_FILE_ATTRIBUTE_FILESYSTEM_READONLY">
1112 <a name="G-FILE-ATTRIBUTE-FILESYSTEM-READONLY:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_READONLY</h3>
1113 <pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_READONLY "filesystem::readonly"               /* boolean */
1114 </pre>
1115 <p>
1116 A key in the "filesystem" namespace for checking if the file system
1117 is read only. Is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file system is read only.
1118 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
1119 </div>
1120 <hr>
1121 <div class="refsect2" title="G_FILE_ATTRIBUTE_GVFS_BACKEND">
1122 <a name="G-FILE-ATTRIBUTE-GVFS-BACKEND:CAPS"></a><h3>G_FILE_ATTRIBUTE_GVFS_BACKEND</h3>
1123 <pre class="programlisting">#define G_FILE_ATTRIBUTE_GVFS_BACKEND "gvfs::backend"             /* string */
1124 </pre>
1125 <p>
1126 A key in the "gvfs" namespace that gets the name of the current
1127 GVFS backend in use. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1128 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1129 </div>
1130 <hr>
1131 <div class="refsect2" title="G_FILE_ATTRIBUTE_SELINUX_CONTEXT">
1132 <a name="G-FILE-ATTRIBUTE-SELINUX-CONTEXT:CAPS"></a><h3>G_FILE_ATTRIBUTE_SELINUX_CONTEXT</h3>
1133 <pre class="programlisting">#define G_FILE_ATTRIBUTE_SELINUX_CONTEXT "selinux::context"       /* string */
1134 </pre>
1135 <p>
1136 A key in the "selinux" namespace for getting the file's SELinux
1137 context. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is
1138 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. Note that this attribute is only
1139 available if GLib has been built with SELinux support.</p>
1140 </div>
1141 <hr>
1142 <div class="refsect2" title="G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT">
1143 <a name="G-FILE-ATTRIBUTE-TRASH-ITEM-COUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT</h3>
1144 <pre class="programlisting">#define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count"     /* uint32 */
1145 </pre>
1146 <p>
1147 A key in the "trash" namespace.  When requested against
1148 "trash:///" returns the number of (toplevel) items in the trash folder.
1149 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>.</p>
1150 </div>
1151 <hr>
1152 <div class="refsect2" title="G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW">
1153 <a name="G-FILE-ATTRIBUTE-FILESYSTEM-USE-PREVIEW:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</h3>
1154 <pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW "filesystem::use-preview"        /* uint32 (GFilesystemPreviewType) */
1155 </pre>
1156 <p>
1157 A key in the "filesystem" namespace for hinting a file manager
1158 application whether it should preview (e.g. thumbnail) files on the
1159 file system. The value for this key contain a
1160 <a class="link" href="GFile.html#GFilesystemPreviewType" title="enum GFilesystemPreviewType"><span class="type">GFilesystemPreviewType</span></a>.</p>
1161 </div>
1162 <hr>
1163 <div class="refsect2" title="G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION">
1164 <a name="G-FILE-ATTRIBUTE-STANDARD-DESCRIPTION:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION</h3>
1165 <pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION "standard::description"        /* string */
1166 </pre>
1167 <p>
1168 A key in the "standard" namespace for getting the description of the file.
1169 The description is a utf8 string that describes the file, generally containing
1170 the filename, but can also contain furter information. Example descriptions
1171 could be "filename (on hostname)" for a remote file or "filename (in trash)"
1172 for a file in the trash. This is useful for instance as the window title
1173 when displaying a directory or for a bookmarks menu.
1174 </p>
1175 <p>
1176 Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>.</p>
1177 </div>
1178 <hr>
1179 <div class="refsect2" title="g_file_info_new ()">
1180 <a name="g-file-info-new"></a><h3>g_file_info_new ()</h3>
1181 <pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         g_file_info_new                     (void);</pre>
1182 <p>
1183 Creates a new file info structure.</p>
1184 <div class="variablelist"><table border="0">
1185 <col align="left" valign="top">
1186 <tbody><tr>
1187 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1188 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1189 </td>
1190 </tr></tbody>
1191 </table></div>
1192 </div>
1193 <hr>
1194 <div class="refsect2" title="g_file_info_dup ()">
1195 <a name="g-file-info-dup"></a><h3>g_file_info_dup ()</h3>
1196 <pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         g_file_info_dup                     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *other);</pre>
1197 <p>
1198 Duplicates a file info structure.</p>
1199 <div class="variablelist"><table border="0">
1200 <col align="left" valign="top">
1201 <tbody>
1202 <tr>
1203 <td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
1204 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1205 </td>
1206 </tr>
1207 <tr>
1208 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1209 <td> a duplicate <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> of <em class="parameter"><code>other</code></em>.
1210 </td>
1211 </tr>
1212 </tbody>
1213 </table></div>
1214 </div>
1215 <hr>
1216 <div class="refsect2" title="g_file_info_copy_into ()">
1217 <a name="g-file-info-copy-into"></a><h3>g_file_info_copy_into ()</h3>
1218 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_copy_into               (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *src_info,
1219                                                          <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *dest_info);</pre>
1220 <p>
1221 Copies all of the <span class="type">GFileAttribute</span>s from <em class="parameter"><code>src_info</code></em> to <em class="parameter"><code>dest_info</code></em>.</p>
1222 <div class="variablelist"><table border="0">
1223 <col align="left" valign="top">
1224 <tbody>
1225 <tr>
1226 <td><p><span class="term"><em class="parameter"><code>src_info</code></em> :</span></p></td>
1227 <td> source to copy attributes from.
1228 </td>
1229 </tr>
1230 <tr>
1231 <td><p><span class="term"><em class="parameter"><code>dest_info</code></em> :</span></p></td>
1232 <td> destination to copy attributes to.
1233 </td>
1234 </tr>
1235 </tbody>
1236 </table></div>
1237 </div>
1238 <hr>
1239 <div class="refsect2" title="g_file_info_has_attribute ()">
1240 <a name="g-file-info-has-attribute"></a><h3>g_file_info_has_attribute ()</h3>
1241 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_has_attribute           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1242                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1243 <p>
1244 Checks if a file info structure has an attribute named <em class="parameter"><code>attribute</code></em>.</p>
1245 <div class="variablelist"><table border="0">
1246 <col align="left" valign="top">
1247 <tbody>
1248 <tr>
1249 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1250 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1251 </td>
1252 </tr>
1253 <tr>
1254 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1255 <td> a file attribute key.
1256 </td>
1257 </tr>
1258 <tr>
1259 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1260 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>Ginfo</code></em> has an attribute named <em class="parameter"><code>attribute</code></em>, 
1261     <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
1262 </td>
1263 </tr>
1264 </tbody>
1265 </table></div>
1266 </div>
1267 <hr>
1268 <div class="refsect2" title="g_file_info_has_namespace ()">
1269 <a name="g-file-info-has-namespace"></a><h3>g_file_info_has_namespace ()</h3>
1270 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_has_namespace           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1271                                                          const <span class="returnvalue">char</span> *name_space);</pre>
1272 <p>
1273 Checks if a file info structure has an attribute in the
1274 specified <em class="parameter"><code>name_space</code></em>.</p>
1275 <div class="variablelist"><table border="0">
1276 <col align="left" valign="top">
1277 <tbody>
1278 <tr>
1279 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1280 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1281 </td>
1282 </tr>
1283 <tr>
1284 <td><p><span class="term"><em class="parameter"><code>name_space</code></em> :</span></p></td>
1285 <td> a file attribute namespace.
1286 </td>
1287 </tr>
1288 <tr>
1289 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1290 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>Ginfo</code></em> has an attribute in <em class="parameter"><code>name_space</code></em>,
1291     <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
1292
1293 </td>
1294 </tr>
1295 </tbody>
1296 </table></div>
1297 <p class="since">Since 2.22</p>
1298 </div>
1299 <hr>
1300 <div class="refsect2" title="g_file_info_list_attributes ()">
1301 <a name="g-file-info-list-attributes"></a><h3>g_file_info_list_attributes ()</h3>
1302 <pre class="programlisting"><span class="returnvalue">char</span> **             g_file_info_list_attributes         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1303                                                          const <span class="returnvalue">char</span> *name_space);</pre>
1304 <p>
1305 Lists the file info structure's attributes.</p>
1306 <div class="variablelist"><table border="0">
1307 <col align="left" valign="top">
1308 <tbody>
1309 <tr>
1310 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1311 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1312 </td>
1313 </tr>
1314 <tr>
1315 <td><p><span class="term"><em class="parameter"><code>name_space</code></em> :</span></p></td>
1316 <td> a file attribute key's namespace.
1317 </td>
1318 </tr>
1319 <tr>
1320 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1321 <td> a null-terminated array of strings of all of the 
1322 possible attribute types for the given <em class="parameter"><code>name_space</code></em>, or 
1323 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
1324 </td>
1325 </tr>
1326 </tbody>
1327 </table></div>
1328 </div>
1329 <hr>
1330 <div class="refsect2" title="g_file_info_get_attribute_type ()">
1331 <a name="g-file-info-get-attribute-type"></a><h3>g_file_info_get_attribute_type ()</h3>
1332 <pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a>  g_file_info_get_attribute_type      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1333                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1334 <p>
1335 Gets the attribute type for an attribute key.</p>
1336 <div class="variablelist"><table border="0">
1337 <col align="left" valign="top">
1338 <tbody>
1339 <tr>
1340 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1341 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1342 </td>
1343 </tr>
1344 <tr>
1345 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1346 <td> a file attribute key.
1347 </td>
1348 </tr>
1349 <tr>
1350 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1351 <td> a <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> for the given <em class="parameter"><code>attribute</code></em>, or 
1352 <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-INVALID:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_INVALID</code></a> if the key is not set.
1353 </td>
1354 </tr>
1355 </tbody>
1356 </table></div>
1357 </div>
1358 <hr>
1359 <div class="refsect2" title="g_file_info_remove_attribute ()">
1360 <a name="g-file-info-remove-attribute"></a><h3>g_file_info_remove_attribute ()</h3>
1361 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_remove_attribute        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1362                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1363 <p>
1364 Removes all cases of <em class="parameter"><code>attribute</code></em> from <em class="parameter"><code>info</code></em> if it exists.</p>
1365 <div class="variablelist"><table border="0">
1366 <col align="left" valign="top">
1367 <tbody>
1368 <tr>
1369 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1370 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1371 </td>
1372 </tr>
1373 <tr>
1374 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1375 <td> a file attribute key.
1376 </td>
1377 </tr>
1378 </tbody>
1379 </table></div>
1380 </div>
1381 <hr>
1382 <div class="refsect2" title="g_file_info_get_attribute_as_string ()">
1383 <a name="g-file-info-get-attribute-as-string"></a><h3>g_file_info_get_attribute_as_string ()</h3>
1384 <pre class="programlisting"><span class="returnvalue">char</span> *              g_file_info_get_attribute_as_string (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1385                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1386 <p>
1387 Gets the value of a attribute, formated as a string.
1388 This escapes things as needed to make the string valid
1389 utf8.</p>
1390 <div class="variablelist"><table border="0">
1391 <col align="left" valign="top">
1392 <tbody>
1393 <tr>
1394 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1395 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1396 </td>
1397 </tr>
1398 <tr>
1399 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1400 <td> a file attribute key.
1401 </td>
1402 </tr>
1403 <tr>
1404 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1405 <td> a UTF-8 string associated with the given <em class="parameter"><code>attribute</code></em>.
1406    When you're done with the string it must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
1407 </td>
1408 </tr>
1409 </tbody>
1410 </table></div>
1411 </div>
1412 <hr>
1413 <div class="refsect2" title="g_file_info_get_attribute_data ()">
1414 <a name="g-file-info-get-attribute-data"></a><h3>g_file_info_get_attribute_data ()</h3>
1415 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_get_attribute_data      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1416                                                          const <span class="returnvalue">char</span> *attribute,
1417                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> *type,
1418                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> *value_pp,
1419                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> *status);</pre>
1420 <p>
1421 Gets the attribute type, value and status for an attribute key.</p>
1422 <div class="variablelist"><table border="0">
1423 <col align="left" valign="top">
1424 <tbody>
1425 <tr>
1426 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1427 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>
1428 </td>
1429 </tr>
1430 <tr>
1431 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1432 <td> a file attribute key
1433 </td>
1434 </tr>
1435 <tr>
1436 <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1437 <td> return location for the attribute type, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1438 </td>
1439 </tr>
1440 <tr>
1441 <td><p><span class="term"><em class="parameter"><code>value_pp</code></em> :</span></p></td>
1442 <td> return location for the attribute value, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1443 </td>
1444 </tr>
1445 <tr>
1446 <td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
1447 <td> return location for the attribute status, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1448 </td>
1449 </tr>
1450 <tr>
1451 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1452 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>info</code></em> has an attribute named <em class="parameter"><code>attribute</code></em>, 
1453      <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
1454 </td>
1455 </tr>
1456 </tbody>
1457 </table></div>
1458 </div>
1459 <hr>
1460 <div class="refsect2" title="g_file_info_get_attribute_status ()">
1461 <a name="g-file-info-get-attribute-status"></a><h3>g_file_info_get_attribute_status ()</h3>
1462 <pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a>  g_file_info_get_attribute_status  (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1463                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1464 <p>
1465 Gets the attribute status for an attribute key.</p>
1466 <div class="variablelist"><table border="0">
1467 <col align="left" valign="top">
1468 <tbody>
1469 <tr>
1470 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1471 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>
1472 </td>
1473 </tr>
1474 <tr>
1475 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1476 <td> a file attribute key
1477 </td>
1478 </tr>
1479 <tr>
1480 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1481 <td> a <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> for the given <em class="parameter"><code>attribute</code></em>, or 
1482    <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-STATUS-UNSET:CAPS"><code class="literal">G_FILE_ATTRIBUTE_STATUS_UNSET</code></a> if the key is invalid.
1483
1484 </td>
1485 </tr>
1486 </tbody>
1487 </table></div>
1488 </div>
1489 <hr>
1490 <div class="refsect2" title="g_file_info_get_attribute_string ()">
1491 <a name="g-file-info-get-attribute-string"></a><h3>g_file_info_get_attribute_string ()</h3>
1492 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_attribute_string    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1493                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1494 <p>
1495 Gets the value of a string attribute. If the attribute does 
1496 not contain a string, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
1497 <div class="variablelist"><table border="0">
1498 <col align="left" valign="top">
1499 <tbody>
1500 <tr>
1501 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1502 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1503 </td>
1504 </tr>
1505 <tr>
1506 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1507 <td> a file attribute key.
1508 </td>
1509 </tr>
1510 <tr>
1511 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1512 <td> the contents of the <em class="parameter"><code>attribute</code></em> value as a string, or 
1513 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.
1514 </td>
1515 </tr>
1516 </tbody>
1517 </table></div>
1518 </div>
1519 <hr>
1520 <div class="refsect2" title="g_file_info_get_attribute_stringv ()">
1521 <a name="g-file-info-get-attribute-stringv"></a><h3>g_file_info_get_attribute_stringv ()</h3>
1522 <pre class="programlisting"><span class="returnvalue">char</span> **             g_file_info_get_attribute_stringv   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1523                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1524 <p>
1525 Gets the value of a stringv attribute. If the attribute does
1526 not contain a stringv, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
1527 <div class="variablelist"><table border="0">
1528 <col align="left" valign="top">
1529 <tbody>
1530 <tr>
1531 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1532 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1533 </td>
1534 </tr>
1535 <tr>
1536 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1537 <td> a file attribute key.
1538 </td>
1539 </tr>
1540 <tr>
1541 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1542 <td> the contents of the <em class="parameter"><code>attribute</code></em> value as a stringv, or
1543 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. Do not free.
1544
1545 </td>
1546 </tr>
1547 </tbody>
1548 </table></div>
1549 <p class="since">Since 2.22</p>
1550 </div>
1551 <hr>
1552 <div class="refsect2" title="g_file_info_get_attribute_byte_string ()">
1553 <a name="g-file-info-get-attribute-byte-string"></a><h3>g_file_info_get_attribute_byte_string ()</h3>
1554 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_attribute_byte_string
1555                                                         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1556                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1557 <p>
1558 Gets the value of a byte string attribute. If the attribute does 
1559 not contain a byte string, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
1560 <div class="variablelist"><table border="0">
1561 <col align="left" valign="top">
1562 <tbody>
1563 <tr>
1564 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1565 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1566 </td>
1567 </tr>
1568 <tr>
1569 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1570 <td> a file attribute key.
1571 </td>
1572 </tr>
1573 <tr>
1574 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1575 <td> the contents of the <em class="parameter"><code>attribute</code></em> value as a byte string, or 
1576 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.
1577 </td>
1578 </tr>
1579 </tbody>
1580 </table></div>
1581 </div>
1582 <hr>
1583 <div class="refsect2" title="g_file_info_get_attribute_boolean ()">
1584 <a name="g-file-info-get-attribute-boolean"></a><h3>g_file_info_get_attribute_boolean ()</h3>
1585 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_get_attribute_boolean   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1586                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1587 <p>
1588 Gets the value of a boolean attribute. If the attribute does not
1589 contain a boolean value, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.</p>
1590 <div class="variablelist"><table border="0">
1591 <col align="left" valign="top">
1592 <tbody>
1593 <tr>
1594 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1595 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1596 </td>
1597 </tr>
1598 <tr>
1599 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1600 <td> a file attribute key.
1601 </td>
1602 </tr>
1603 <tr>
1604 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1605 <td> the boolean value contained within the attribute. 
1606 </td>
1607 </tr>
1608 </tbody>
1609 </table></div>
1610 </div>
1611 <hr>
1612 <div class="refsect2" title="g_file_info_get_attribute_uint32 ()">
1613 <a name="g-file-info-get-attribute-uint32"></a><h3>g_file_info_get_attribute_uint32 ()</h3>
1614 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             g_file_info_get_attribute_uint32    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1615                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1616 <p>
1617 Gets an unsigned 32-bit integer contained within the attribute. If the 
1618 attribute does not contain an unsigned 32-bit integer, or is invalid, 
1619 0 will be returned.</p>
1620 <div class="variablelist"><table border="0">
1621 <col align="left" valign="top">
1622 <tbody>
1623 <tr>
1624 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1625 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1626 </td>
1627 </tr>
1628 <tr>
1629 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1630 <td> a file attribute key.
1631 </td>
1632 </tr>
1633 <tr>
1634 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1635 <td> an unsigned 32-bit integer from the attribute. 
1636 </td>
1637 </tr>
1638 </tbody>
1639 </table></div>
1640 </div>
1641 <hr>
1642 <div class="refsect2" title="g_file_info_get_attribute_int32 ()">
1643 <a name="g-file-info-get-attribute-int32"></a><h3>g_file_info_get_attribute_int32 ()</h3>
1644 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              g_file_info_get_attribute_int32     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1645                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1646 <p>
1647 Gets a signed 32-bit integer contained within the attribute. If the 
1648 attribute does not contain a signed 32-bit integer, or is invalid, 
1649 0 will be returned.</p>
1650 <div class="variablelist"><table border="0">
1651 <col align="left" valign="top">
1652 <tbody>
1653 <tr>
1654 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1655 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1656 </td>
1657 </tr>
1658 <tr>
1659 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1660 <td> a file attribute key.
1661 </td>
1662 </tr>
1663 <tr>
1664 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1665 <td> a signed 32-bit integer from the attribute.
1666 </td>
1667 </tr>
1668 </tbody>
1669 </table></div>
1670 </div>
1671 <hr>
1672 <div class="refsect2" title="g_file_info_get_attribute_uint64 ()">
1673 <a name="g-file-info-get-attribute-uint64"></a><h3>g_file_info_get_attribute_uint64 ()</h3>
1674 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>             g_file_info_get_attribute_uint64    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1675                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1676 <p>
1677 Gets a unsigned 64-bit integer contained within the attribute. If the 
1678 attribute does not contain an unsigned 64-bit integer, or is invalid, 
1679 0 will be returned.</p>
1680 <div class="variablelist"><table border="0">
1681 <col align="left" valign="top">
1682 <tbody>
1683 <tr>
1684 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1685 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1686 </td>
1687 </tr>
1688 <tr>
1689 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1690 <td> a file attribute key.
1691 </td>
1692 </tr>
1693 <tr>
1694 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1695 <td> a unsigned 64-bit integer from the attribute. 
1696 </td>
1697 </tr>
1698 </tbody>
1699 </table></div>
1700 </div>
1701 <hr>
1702 <div class="refsect2" title="g_file_info_get_attribute_int64 ()">
1703 <a name="g-file-info-get-attribute-int64"></a><h3>g_file_info_get_attribute_int64 ()</h3>
1704 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              g_file_info_get_attribute_int64     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1705                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1706 <p>
1707 Gets a signed 64-bit integer contained within the attribute. If the 
1708 attribute does not contain an signed 64-bit integer, or is invalid, 
1709 0 will be returned.</p>
1710 <div class="variablelist"><table border="0">
1711 <col align="left" valign="top">
1712 <tbody>
1713 <tr>
1714 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1715 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1716 </td>
1717 </tr>
1718 <tr>
1719 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1720 <td> a file attribute key.
1721 </td>
1722 </tr>
1723 <tr>
1724 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1725 <td> a signed 64-bit integer from the attribute. 
1726 </td>
1727 </tr>
1728 </tbody>
1729 </table></div>
1730 </div>
1731 <hr>
1732 <div class="refsect2" title="g_file_info_get_attribute_object ()">
1733 <a name="g-file-info-get-attribute-object"></a><h3>g_file_info_get_attribute_object ()</h3>
1734 <pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *           g_file_info_get_attribute_object    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1735                                                          const <span class="returnvalue">char</span> *attribute);</pre>
1736 <p>
1737 Gets the value of a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> attribute. If the attribute does 
1738 not contain a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
1739 <div class="variablelist"><table border="0">
1740 <col align="left" valign="top">
1741 <tbody>
1742 <tr>
1743 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1744 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1745 </td>
1746 </tr>
1747 <tr>
1748 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1749 <td> a file attribute key.
1750 </td>
1751 </tr>
1752 <tr>
1753 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1754 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> associated with the given <em class="parameter"><code>attribute</code></em>, or
1755 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.
1756 </td>
1757 </tr>
1758 </tbody>
1759 </table></div>
1760 </div>
1761 <hr>
1762 <div class="refsect2" title="g_file_info_set_attribute ()">
1763 <a name="g-file-info-set-attribute"></a><h3>g_file_info_set_attribute ()</h3>
1764 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1765                                                          const <span class="returnvalue">char</span> *attribute,
1766                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> type,
1767                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> value_p);</pre>
1768 <p>
1769 Sets the <em class="parameter"><code>attribute</code></em> to contain the given value, if possible.</p>
1770 <div class="variablelist"><table border="0">
1771 <col align="left" valign="top">
1772 <tbody>
1773 <tr>
1774 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1775 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1776 </td>
1777 </tr>
1778 <tr>
1779 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1780 <td> a file attribute key.
1781 </td>
1782 </tr>
1783 <tr>
1784 <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1785 <td> a <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a>
1786 </td>
1787 </tr>
1788 <tr>
1789 <td><p><span class="term"><em class="parameter"><code>value_p</code></em> :</span></p></td>
1790 <td> pointer to the value
1791 </td>
1792 </tr>
1793 </tbody>
1794 </table></div>
1795 </div>
1796 <hr>
1797 <div class="refsect2" title="g_file_info_set_attribute_status ()">
1798 <a name="g-file-info-set-attribute-status"></a><h3>g_file_info_set_attribute_status ()</h3>
1799 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_set_attribute_status    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1800                                                          const <span class="returnvalue">char</span> *attribute,
1801                                                          <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> status);</pre>
1802 <p>
1803 Sets the attribute status for an attribute key. This is only
1804 needed by external code that implement <a class="link" href="GFile.html#g-file-set-attributes-from-info" title="g_file_set_attributes_from_info ()"><code class="function">g_file_set_attributes_from_info()</code></a>
1805 or similar functions.
1806 </p>
1807 <p>
1808 The attribute must exist in <em class="parameter"><code>info</code></em> for this to work. Otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1809 is returned and <em class="parameter"><code>info</code></em> is unchanged.</p>
1810 <div class="variablelist"><table border="0">
1811 <col align="left" valign="top">
1812 <tbody>
1813 <tr>
1814 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1815 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>
1816 </td>
1817 </tr>
1818 <tr>
1819 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1820 <td> a file attribute key
1821 </td>
1822 </tr>
1823 <tr>
1824 <td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
1825 <td> a <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a>
1826 </td>
1827 </tr>
1828 <tr>
1829 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1830 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the status was changed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the key was not set.
1831
1832 </td>
1833 </tr>
1834 </tbody>
1835 </table></div>
1836 <p class="since">Since 2.22</p>
1837 </div>
1838 <hr>
1839 <div class="refsect2" title="g_file_info_set_attribute_string ()">
1840 <a name="g-file-info-set-attribute-string"></a><h3>g_file_info_set_attribute_string ()</h3>
1841 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_string    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1842                                                          const <span class="returnvalue">char</span> *attribute,
1843                                                          const <span class="returnvalue">char</span> *attr_value);</pre>
1844 <p>
1845 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
1846 if possible.</p>
1847 <div class="variablelist"><table border="0">
1848 <col align="left" valign="top">
1849 <tbody>
1850 <tr>
1851 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1852 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1853 </td>
1854 </tr>
1855 <tr>
1856 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1857 <td> a file attribute key.
1858 </td>
1859 </tr>
1860 <tr>
1861 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
1862 <td> a string.
1863 </td>
1864 </tr>
1865 </tbody>
1866 </table></div>
1867 </div>
1868 <hr>
1869 <div class="refsect2" title="g_file_info_set_attribute_stringv ()">
1870 <a name="g-file-info-set-attribute-stringv"></a><h3>g_file_info_set_attribute_stringv ()</h3>
1871 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_stringv   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1872                                                          const <span class="returnvalue">char</span> *attribute,
1873                                                          <span class="returnvalue">char</span> **attr_value);</pre>
1874 <p>
1875 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>,
1876 if possible.
1877 </p>
1878 <p>
1879 Sinze: 2.22</p>
1880 <div class="variablelist"><table border="0">
1881 <col align="left" valign="top">
1882 <tbody>
1883 <tr>
1884 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1885 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1886 </td>
1887 </tr>
1888 <tr>
1889 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1890 <td> a file attribute key.
1891 </td>
1892 </tr>
1893 <tr>
1894 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
1895 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated string array
1896 </td>
1897 </tr>
1898 </tbody>
1899 </table></div>
1900 </div>
1901 <hr>
1902 <div class="refsect2" title="g_file_info_set_attribute_byte_string ()">
1903 <a name="g-file-info-set-attribute-byte-string"></a><h3>g_file_info_set_attribute_byte_string ()</h3>
1904 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_byte_string
1905                                                         (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1906                                                          const <span class="returnvalue">char</span> *attribute,
1907                                                          const <span class="returnvalue">char</span> *attr_value);</pre>
1908 <p>
1909 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
1910 if possible.</p>
1911 <div class="variablelist"><table border="0">
1912 <col align="left" valign="top">
1913 <tbody>
1914 <tr>
1915 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1916 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1917 </td>
1918 </tr>
1919 <tr>
1920 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1921 <td> a file attribute key.
1922 </td>
1923 </tr>
1924 <tr>
1925 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
1926 <td> a byte string.
1927 </td>
1928 </tr>
1929 </tbody>
1930 </table></div>
1931 </div>
1932 <hr>
1933 <div class="refsect2" title="g_file_info_set_attribute_boolean ()">
1934 <a name="g-file-info-set-attribute-boolean"></a><h3>g_file_info_set_attribute_boolean ()</h3>
1935 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_boolean   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1936                                                          const <span class="returnvalue">char</span> *attribute,
1937                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> attr_value);</pre>
1938 <p>
1939 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
1940 if possible.</p>
1941 <div class="variablelist"><table border="0">
1942 <col align="left" valign="top">
1943 <tbody>
1944 <tr>
1945 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1946 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1947 </td>
1948 </tr>
1949 <tr>
1950 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1951 <td> a file attribute key.
1952 </td>
1953 </tr>
1954 <tr>
1955 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
1956 <td> a boolean value.
1957 </td>
1958 </tr>
1959 </tbody>
1960 </table></div>
1961 </div>
1962 <hr>
1963 <div class="refsect2" title="g_file_info_set_attribute_uint32 ()">
1964 <a name="g-file-info-set-attribute-uint32"></a><h3>g_file_info_set_attribute_uint32 ()</h3>
1965 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_uint32    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1966                                                          const <span class="returnvalue">char</span> *attribute,
1967                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> attr_value);</pre>
1968 <p>
1969 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
1970 if possible.</p>
1971 <div class="variablelist"><table border="0">
1972 <col align="left" valign="top">
1973 <tbody>
1974 <tr>
1975 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1976 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
1977 </td>
1978 </tr>
1979 <tr>
1980 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
1981 <td> a file attribute key.
1982 </td>
1983 </tr>
1984 <tr>
1985 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
1986 <td> an unsigned 32-bit integer.
1987 </td>
1988 </tr>
1989 </tbody>
1990 </table></div>
1991 </div>
1992 <hr>
1993 <div class="refsect2" title="g_file_info_set_attribute_int32 ()">
1994 <a name="g-file-info-set-attribute-int32"></a><h3>g_file_info_set_attribute_int32 ()</h3>
1995 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_int32     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
1996                                                          const <span class="returnvalue">char</span> *attribute,
1997                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> attr_value);</pre>
1998 <p>
1999 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
2000 if possible.</p>
2001 <div class="variablelist"><table border="0">
2002 <col align="left" valign="top">
2003 <tbody>
2004 <tr>
2005 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2006 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2007 </td>
2008 </tr>
2009 <tr>
2010 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2011 <td> a file attribute key.
2012 </td>
2013 </tr>
2014 <tr>
2015 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
2016 <td> a signed 32-bit integer
2017 </td>
2018 </tr>
2019 </tbody>
2020 </table></div>
2021 </div>
2022 <hr>
2023 <div class="refsect2" title="g_file_info_set_attribute_uint64 ()">
2024 <a name="g-file-info-set-attribute-uint64"></a><h3>g_file_info_set_attribute_uint64 ()</h3>
2025 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_uint64    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2026                                                          const <span class="returnvalue">char</span> *attribute,
2027                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> attr_value);</pre>
2028 <p>
2029 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
2030 if possible.</p>
2031 <div class="variablelist"><table border="0">
2032 <col align="left" valign="top">
2033 <tbody>
2034 <tr>
2035 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2036 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2037 </td>
2038 </tr>
2039 <tr>
2040 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2041 <td> a file attribute key.
2042 </td>
2043 </tr>
2044 <tr>
2045 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
2046 <td> an unsigned 64-bit integer.
2047 </td>
2048 </tr>
2049 </tbody>
2050 </table></div>
2051 </div>
2052 <hr>
2053 <div class="refsect2" title="g_file_info_set_attribute_int64 ()">
2054 <a name="g-file-info-set-attribute-int64"></a><h3>g_file_info_set_attribute_int64 ()</h3>
2055 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_int64     (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2056                                                          const <span class="returnvalue">char</span> *attribute,
2057                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> attr_value);</pre>
2058 <p>
2059 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
2060 if possible.</p>
2061 <div class="variablelist"><table border="0">
2062 <col align="left" valign="top">
2063 <tbody>
2064 <tr>
2065 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2066 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2067 </td>
2068 </tr>
2069 <tr>
2070 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2071 <td> attribute name to set.
2072 </td>
2073 </tr>
2074 <tr>
2075 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
2076 <td> int64 value to set attribute to.
2077 </td>
2078 </tr>
2079 </tbody>
2080 </table></div>
2081 </div>
2082 <hr>
2083 <div class="refsect2" title="g_file_info_set_attribute_object ()">
2084 <a name="g-file-info-set-attribute-object"></a><h3>g_file_info_set_attribute_object ()</h3>
2085 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_object    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2086                                                          const <span class="returnvalue">char</span> *attribute,
2087                                                          <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *attr_value);</pre>
2088 <p>
2089 Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, 
2090 if possible.</p>
2091 <div class="variablelist"><table border="0">
2092 <col align="left" valign="top">
2093 <tbody>
2094 <tr>
2095 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2096 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2097 </td>
2098 </tr>
2099 <tr>
2100 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2101 <td> a file attribute key.
2102 </td>
2103 </tr>
2104 <tr>
2105 <td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
2106 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.
2107 </td>
2108 </tr>
2109 </tbody>
2110 </table></div>
2111 </div>
2112 <hr>
2113 <div class="refsect2" title="g_file_info_clear_status ()">
2114 <a name="g-file-info-clear-status"></a><h3>g_file_info_clear_status ()</h3>
2115 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_clear_status            (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2116 <p>
2117 Clears the status information from <em class="parameter"><code>info</code></em>.</p>
2118 <div class="variablelist"><table border="0">
2119 <col align="left" valign="top">
2120 <tbody><tr>
2121 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2122 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2123 </td>
2124 </tr></tbody>
2125 </table></div>
2126 </div>
2127 <hr>
2128 <div class="refsect2" title="g_file_info_get_file_type ()">
2129 <a name="g-file-info-get-file-type"></a><h3>g_file_info_get_file_type ()</h3>
2130 <pre class="programlisting"><a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a>           g_file_info_get_file_type           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2131 <p>
2132 Gets a file's type (whether it is a regular file, symlink, etc). 
2133 This is different from the file's content type, see <a class="link" href="GFileInfo.html#g-file-info-get-content-type" title="g_file_info_get_content_type ()"><code class="function">g_file_info_get_content_type()</code></a>.</p>
2134 <div class="variablelist"><table border="0">
2135 <col align="left" valign="top">
2136 <tbody>
2137 <tr>
2138 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2139 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2140 </td>
2141 </tr>
2142 <tr>
2143 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2144 <td> a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a> for the given file.
2145 </td>
2146 </tr>
2147 </tbody>
2148 </table></div>
2149 </div>
2150 <hr>
2151 <div class="refsect2" title="g_file_info_get_is_hidden ()">
2152 <a name="g-file-info-get-is-hidden"></a><h3>g_file_info_get_is_hidden ()</h3>
2153 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_get_is_hidden           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2154 <p>
2155 Checks if a file is hidden.</p>
2156 <div class="variablelist"><table border="0">
2157 <col align="left" valign="top">
2158 <tbody>
2159 <tr>
2160 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2161 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2162 </td>
2163 </tr>
2164 <tr>
2165 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2166 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is a hidden file, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2167 </td>
2168 </tr>
2169 </tbody>
2170 </table></div>
2171 </div>
2172 <hr>
2173 <div class="refsect2" title="g_file_info_get_is_backup ()">
2174 <a name="g-file-info-get-is-backup"></a><h3>g_file_info_get_is_backup ()</h3>
2175 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_get_is_backup           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2176 <p>
2177 Checks if a file is a backup file.</p>
2178 <div class="variablelist"><table border="0">
2179 <col align="left" valign="top">
2180 <tbody>
2181 <tr>
2182 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2183 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2184 </td>
2185 </tr>
2186 <tr>
2187 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2188 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if file is a backup file, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2189 </td>
2190 </tr>
2191 </tbody>
2192 </table></div>
2193 </div>
2194 <hr>
2195 <div class="refsect2" title="g_file_info_get_is_symlink ()">
2196 <a name="g-file-info-get-is-symlink"></a><h3>g_file_info_get_is_symlink ()</h3>
2197 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_info_get_is_symlink          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2198 <p>
2199 Checks if a file is a symlink.</p>
2200 <div class="variablelist"><table border="0">
2201 <col align="left" valign="top">
2202 <tbody>
2203 <tr>
2204 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2205 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2206 </td>
2207 </tr>
2208 <tr>
2209 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2210 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given <em class="parameter"><code>info</code></em> is a symlink.
2211 </td>
2212 </tr>
2213 </tbody>
2214 </table></div>
2215 </div>
2216 <hr>
2217 <div class="refsect2" title="g_file_info_get_name ()">
2218 <a name="g-file-info-get-name"></a><h3>g_file_info_get_name ()</h3>
2219 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_name                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2220 <p>
2221 Gets the name for a file.</p>
2222 <div class="variablelist"><table border="0">
2223 <col align="left" valign="top">
2224 <tbody>
2225 <tr>
2226 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2227 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2228 </td>
2229 </tr>
2230 <tr>
2231 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2232 <td> a string containing the file name.
2233 </td>
2234 </tr>
2235 </tbody>
2236 </table></div>
2237 </div>
2238 <hr>
2239 <div class="refsect2" title="g_file_info_get_display_name ()">
2240 <a name="g-file-info-get-display-name"></a><h3>g_file_info_get_display_name ()</h3>
2241 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_display_name        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2242 <p>
2243 Gets a display name for a file.</p>
2244 <div class="variablelist"><table border="0">
2245 <col align="left" valign="top">
2246 <tbody>
2247 <tr>
2248 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2249 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2250 </td>
2251 </tr>
2252 <tr>
2253 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2254 <td> a string containing the display name.
2255 </td>
2256 </tr>
2257 </tbody>
2258 </table></div>
2259 </div>
2260 <hr>
2261 <div class="refsect2" title="g_file_info_get_edit_name ()">
2262 <a name="g-file-info-get-edit-name"></a><h3>g_file_info_get_edit_name ()</h3>
2263 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_edit_name           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2264 <p>
2265 Gets the edit name for a file.</p>
2266 <div class="variablelist"><table border="0">
2267 <col align="left" valign="top">
2268 <tbody>
2269 <tr>
2270 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2271 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2272 </td>
2273 </tr>
2274 <tr>
2275 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2276 <td> a string containing the edit name.
2277 </td>
2278 </tr>
2279 </tbody>
2280 </table></div>
2281 </div>
2282 <hr>
2283 <div class="refsect2" title="g_file_info_get_icon ()">
2284 <a name="g-file-info-get-icon"></a><h3>g_file_info_get_icon ()</h3>
2285 <pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *             g_file_info_get_icon                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2286 <p>
2287 Gets the icon for a file.</p>
2288 <div class="variablelist"><table border="0">
2289 <col align="left" valign="top">
2290 <tbody>
2291 <tr>
2292 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2293 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2294 </td>
2295 </tr>
2296 <tr>
2297 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2298 <td> <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <em class="parameter"><code>info</code></em>.
2299 </td>
2300 </tr>
2301 </tbody>
2302 </table></div>
2303 </div>
2304 <hr>
2305 <div class="refsect2" title="g_file_info_get_content_type ()">
2306 <a name="g-file-info-get-content-type"></a><h3>g_file_info_get_content_type ()</h3>
2307 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_content_type        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2308 <p>
2309 Gets the file's content type.</p>
2310 <div class="variablelist"><table border="0">
2311 <col align="left" valign="top">
2312 <tbody>
2313 <tr>
2314 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2315 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2316 </td>
2317 </tr>
2318 <tr>
2319 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2320 <td> a string containing the file's content type.
2321 </td>
2322 </tr>
2323 </tbody>
2324 </table></div>
2325 </div>
2326 <hr>
2327 <div class="refsect2" title="g_file_info_get_size ()">
2328 <a name="g-file-info-get-size"></a><h3>g_file_info_get_size ()</h3>
2329 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a>             g_file_info_get_size                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2330 <p>
2331 Gets the file's size.</p>
2332 <div class="variablelist"><table border="0">
2333 <col align="left" valign="top">
2334 <tbody>
2335 <tr>
2336 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2337 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2338 </td>
2339 </tr>
2340 <tr>
2341 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2342 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size. 
2343 </td>
2344 </tr>
2345 </tbody>
2346 </table></div>
2347 </div>
2348 <hr>
2349 <div class="refsect2" title="g_file_info_get_modification_time ()">
2350 <a name="g-file-info-get-modification-time"></a><h3>g_file_info_get_modification_time ()</h3>
2351 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_get_modification_time   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2352                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="returnvalue">GTimeVal</span></a> *result);</pre>
2353 <p>
2354 Gets the modification time of the current <em class="parameter"><code>info</code></em> and sets it
2355 in <em class="parameter"><code>result</code></em>.</p>
2356 <div class="variablelist"><table border="0">
2357 <col align="left" valign="top">
2358 <tbody>
2359 <tr>
2360 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2361 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2362 </td>
2363 </tr>
2364 <tr>
2365 <td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
2366 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>.
2367 </td>
2368 </tr>
2369 </tbody>
2370 </table></div>
2371 </div>
2372 <hr>
2373 <div class="refsect2" title="g_file_info_get_symlink_target ()">
2374 <a name="g-file-info-get-symlink-target"></a><h3>g_file_info_get_symlink_target ()</h3>
2375 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_symlink_target      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2376 <p>
2377 Gets the symlink target for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p>
2378 <div class="variablelist"><table border="0">
2379 <col align="left" valign="top">
2380 <tbody>
2381 <tr>
2382 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2383 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2384 </td>
2385 </tr>
2386 <tr>
2387 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2388 <td> a string containing the symlink target.
2389 </td>
2390 </tr>
2391 </tbody>
2392 </table></div>
2393 </div>
2394 <hr>
2395 <div class="refsect2" title="g_file_info_get_etag ()">
2396 <a name="g-file-info-get-etag"></a><h3>g_file_info_get_etag ()</h3>
2397 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_info_get_etag                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2398 <p>
2399 Gets the <a class="link" href="GFile.html#gfile-etag">entity tag</a> for a given 
2400 <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS" title="G_FILE_ATTRIBUTE_ETAG_VALUE"><code class="literal">G_FILE_ATTRIBUTE_ETAG_VALUE</code></a>.</p>
2401 <div class="variablelist"><table border="0">
2402 <col align="left" valign="top">
2403 <tbody>
2404 <tr>
2405 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2406 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2407 </td>
2408 </tr>
2409 <tr>
2410 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2411 <td> a string containing the value of the "etag:value" attribute.
2412 </td>
2413 </tr>
2414 </tbody>
2415 </table></div>
2416 </div>
2417 <hr>
2418 <div class="refsect2" title="g_file_info_get_sort_order ()">
2419 <a name="g-file-info-get-sort-order"></a><h3>g_file_info_get_sort_order ()</h3>
2420 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              g_file_info_get_sort_order          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2421 <p>
2422 Gets the value of the sort_order attribute from the <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2423 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</code></a>.</p>
2424 <div class="variablelist"><table border="0">
2425 <col align="left" valign="top">
2426 <tbody>
2427 <tr>
2428 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2429 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2430 </td>
2431 </tr>
2432 <tr>
2433 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2434 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> containing the value of the "standard::sort_order" attribute.
2435 </td>
2436 </tr>
2437 </tbody>
2438 </table></div>
2439 </div>
2440 <hr>
2441 <div class="refsect2" title="g_file_info_set_attribute_mask ()">
2442 <a name="g-file-info-set-attribute-mask"></a><h3>g_file_info_set_attribute_mask ()</h3>
2443 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_attribute_mask      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2444                                                          <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *mask);</pre>
2445 <p>
2446 Sets <em class="parameter"><code>mask</code></em> on <em class="parameter"><code>info</code></em> to match specific attribute types.</p>
2447 <div class="variablelist"><table border="0">
2448 <col align="left" valign="top">
2449 <tbody>
2450 <tr>
2451 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2452 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2453 </td>
2454 </tr>
2455 <tr>
2456 <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
2457 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2458 </td>
2459 </tr>
2460 </tbody>
2461 </table></div>
2462 </div>
2463 <hr>
2464 <div class="refsect2" title="g_file_info_unset_attribute_mask ()">
2465 <a name="g-file-info-unset-attribute-mask"></a><h3>g_file_info_unset_attribute_mask ()</h3>
2466 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_unset_attribute_mask    (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info);</pre>
2467 <p>
2468 Unsets a mask set by <a class="link" href="GFileInfo.html#g-file-info-set-attribute-mask" title="g_file_info_set_attribute_mask ()"><code class="function">g_file_info_set_attribute_mask()</code></a>, if one
2469 is set.</p>
2470 <div class="variablelist"><table border="0">
2471 <col align="left" valign="top">
2472 <tbody><tr>
2473 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2474 <td> <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2475 </td>
2476 </tr></tbody>
2477 </table></div>
2478 </div>
2479 <hr>
2480 <div class="refsect2" title="g_file_info_set_file_type ()">
2481 <a name="g-file-info-set-file-type"></a><h3>g_file_info_set_file_type ()</h3>
2482 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_file_type           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2483                                                          <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a> type);</pre>
2484 <p>
2485 Sets the file type in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> to <em class="parameter"><code>type</code></em>.
2486 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TYPE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_TYPE</code></a>.</p>
2487 <div class="variablelist"><table border="0">
2488 <col align="left" valign="top">
2489 <tbody>
2490 <tr>
2491 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2492 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2493 </td>
2494 </tr>
2495 <tr>
2496 <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
2497 <td> a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a>.
2498 </td>
2499 </tr>
2500 </tbody>
2501 </table></div>
2502 </div>
2503 <hr>
2504 <div class="refsect2" title="g_file_info_set_is_hidden ()">
2505 <a name="g-file-info-set-is-hidden"></a><h3>g_file_info_set_is_hidden ()</h3>
2506 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_is_hidden           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2507                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> is_hidden);</pre>
2508 <p>
2509 Sets the "is_hidden" attribute in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> according to <em class="parameter"><code>is_symlink</code></em>.
2510 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</code></a>.</p>
2511 <div class="variablelist"><table border="0">
2512 <col align="left" valign="top">
2513 <tbody>
2514 <tr>
2515 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2516 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2517 </td>
2518 </tr>
2519 <tr>
2520 <td><p><span class="term"><em class="parameter"><code>is_hidden</code></em> :</span></p></td>
2521 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.
2522 </td>
2523 </tr>
2524 </tbody>
2525 </table></div>
2526 </div>
2527 <hr>
2528 <div class="refsect2" title="g_file_info_set_is_symlink ()">
2529 <a name="g-file-info-set-is-symlink"></a><h3>g_file_info_set_is_symlink ()</h3>
2530 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_is_symlink          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2531                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> is_symlink);</pre>
2532 <p>
2533 Sets the "is_symlink" attribute in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> according to <em class="parameter"><code>is_symlink</code></em>.
2534 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</code></a>.</p>
2535 <div class="variablelist"><table border="0">
2536 <col align="left" valign="top">
2537 <tbody>
2538 <tr>
2539 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2540 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2541 </td>
2542 </tr>
2543 <tr>
2544 <td><p><span class="term"><em class="parameter"><code>is_symlink</code></em> :</span></p></td>
2545 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.
2546 </td>
2547 </tr>
2548 </tbody>
2549 </table></div>
2550 </div>
2551 <hr>
2552 <div class="refsect2" title="g_file_info_set_name ()">
2553 <a name="g-file-info-set-name"></a><h3>g_file_info_set_name ()</h3>
2554 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_name                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2555                                                          const <span class="returnvalue">char</span> *name);</pre>
2556 <p>
2557 Sets the name attribute for the current <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. 
2558 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_NAME</code></a>.</p>
2559 <div class="variablelist"><table border="0">
2560 <col align="left" valign="top">
2561 <tbody>
2562 <tr>
2563 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2564 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2565 </td>
2566 </tr>
2567 <tr>
2568 <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
2569 <td> a string containing a name.
2570 </td>
2571 </tr>
2572 </tbody>
2573 </table></div>
2574 </div>
2575 <hr>
2576 <div class="refsect2" title="g_file_info_set_display_name ()">
2577 <a name="g-file-info-set-display-name"></a><h3>g_file_info_set_display_name ()</h3>
2578 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_display_name        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2579                                                          const <span class="returnvalue">char</span> *display_name);</pre>
2580 <p>
2581 Sets the display name for the current <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2582 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</code></a>.</p>
2583 <div class="variablelist"><table border="0">
2584 <col align="left" valign="top">
2585 <tbody>
2586 <tr>
2587 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2588 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2589 </td>
2590 </tr>
2591 <tr>
2592 <td><p><span class="term"><em class="parameter"><code>display_name</code></em> :</span></p></td>
2593 <td> a string containing a display name.
2594 </td>
2595 </tr>
2596 </tbody>
2597 </table></div>
2598 </div>
2599 <hr>
2600 <div class="refsect2" title="g_file_info_set_edit_name ()">
2601 <a name="g-file-info-set-edit-name"></a><h3>g_file_info_set_edit_name ()</h3>
2602 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_edit_name           (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2603                                                          const <span class="returnvalue">char</span> *edit_name);</pre>
2604 <p>
2605 Sets the edit name for the current file.
2606 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</code></a>.</p>
2607 <div class="variablelist"><table border="0">
2608 <col align="left" valign="top">
2609 <tbody>
2610 <tr>
2611 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2612 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2613 </td>
2614 </tr>
2615 <tr>
2616 <td><p><span class="term"><em class="parameter"><code>edit_name</code></em> :</span></p></td>
2617 <td> a string containing an edit name.
2618 </td>
2619 </tr>
2620 </tbody>
2621 </table></div>
2622 </div>
2623 <hr>
2624 <div class="refsect2" title="g_file_info_set_icon ()">
2625 <a name="g-file-info-set-icon"></a><h3>g_file_info_set_icon ()</h3>
2626 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_icon                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2627                                                          <a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *icon);</pre>
2628 <p>
2629 Sets the icon for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. 
2630 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ICON"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_ICON</code></a>.</p>
2631 <div class="variablelist"><table border="0">
2632 <col align="left" valign="top">
2633 <tbody>
2634 <tr>
2635 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2636 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2637 </td>
2638 </tr>
2639 <tr>
2640 <td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
2641 <td> a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.
2642 </td>
2643 </tr>
2644 </tbody>
2645 </table></div>
2646 </div>
2647 <hr>
2648 <div class="refsect2" title="g_file_info_set_content_type ()">
2649 <a name="g-file-info-set-content-type"></a><h3>g_file_info_set_content_type ()</h3>
2650 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_content_type        (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2651                                                          const <span class="returnvalue">char</span> *content_type);</pre>
2652 <p>
2653 Sets the content type attribute for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2654 See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</code></a>.</p>
2655 <div class="variablelist"><table border="0">
2656 <col align="left" valign="top">
2657 <tbody>
2658 <tr>
2659 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2660 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2661 </td>
2662 </tr>
2663 <tr>
2664 <td><p><span class="term"><em class="parameter"><code>content_type</code></em> :</span></p></td>
2665 <td> a content type. See <span class="type">GContentType</span>.
2666 </td>
2667 </tr>
2668 </tbody>
2669 </table></div>
2670 </div>
2671 <hr>
2672 <div class="refsect2" title="g_file_info_set_size ()">
2673 <a name="g-file-info-set-size"></a><h3>g_file_info_set_size ()</h3>
2674 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_size                (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2675                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a> size);</pre>
2676 <p>
2677 Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SIZE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SIZE</code></a> attribute in the file info 
2678 to the given size.</p>
2679 <div class="variablelist"><table border="0">
2680 <col align="left" valign="top">
2681 <tbody>
2682 <tr>
2683 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2684 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2685 </td>
2686 </tr>
2687 <tr>
2688 <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
2689 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size.
2690 </td>
2691 </tr>
2692 </tbody>
2693 </table></div>
2694 </div>
2695 <hr>
2696 <div class="refsect2" title="g_file_info_set_modification_time ()">
2697 <a name="g-file-info-set-modification-time"></a><h3>g_file_info_set_modification_time ()</h3>
2698 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_modification_time   (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2699                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="returnvalue">GTimeVal</span></a> *mtime);</pre>
2700 <p>
2701 Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED"><code class="literal">G_FILE_ATTRIBUTE_TIME_MODIFIED</code></a> attribute in the file
2702 info to the given time value.</p>
2703 <div class="variablelist"><table border="0">
2704 <col align="left" valign="top">
2705 <tbody>
2706 <tr>
2707 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2708 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2709 </td>
2710 </tr>
2711 <tr>
2712 <td><p><span class="term"><em class="parameter"><code>mtime</code></em> :</span></p></td>
2713 <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>.
2714 </td>
2715 </tr>
2716 </tbody>
2717 </table></div>
2718 </div>
2719 <hr>
2720 <div class="refsect2" title="g_file_info_set_symlink_target ()">
2721 <a name="g-file-info-set-symlink-target"></a><h3>g_file_info_set_symlink_target ()</h3>
2722 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_symlink_target      (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2723                                                          const <span class="returnvalue">char</span> *symlink_target);</pre>
2724 <p>
2725 Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</code></a> attribute in the file info 
2726 to the given symlink target.</p>
2727 <div class="variablelist"><table border="0">
2728 <col align="left" valign="top">
2729 <tbody>
2730 <tr>
2731 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2732 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2733 </td>
2734 </tr>
2735 <tr>
2736 <td><p><span class="term"><em class="parameter"><code>symlink_target</code></em> :</span></p></td>
2737 <td> a static string containing a path to a symlink target.
2738 </td>
2739 </tr>
2740 </tbody>
2741 </table></div>
2742 </div>
2743 <hr>
2744 <div class="refsect2" title="g_file_info_set_sort_order ()">
2745 <a name="g-file-info-set-sort-order"></a><h3>g_file_info_set_sort_order ()</h3>
2746 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_info_set_sort_order          (<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *info,
2747                                                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> sort_order);</pre>
2748 <p>
2749 Sets the sort order attribute in the file info structure. See 
2750 <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</code></a>.</p>
2751 <div class="variablelist"><table border="0">
2752 <col align="left" valign="top">
2753 <tbody>
2754 <tr>
2755 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
2756 <td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.
2757 </td>
2758 </tr>
2759 <tr>
2760 <td><p><span class="term"><em class="parameter"><code>sort_order</code></em> :</span></p></td>
2761 <td> a sort order integer.
2762 </td>
2763 </tr>
2764 </tbody>
2765 </table></div>
2766 </div>
2767 <hr>
2768 <div class="refsect2" title="g_file_attribute_matcher_new ()">
2769 <a name="g-file-attribute-matcher-new"></a><h3>g_file_attribute_matcher_new ()</h3>
2770 <pre class="programlisting"><a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * g_file_attribute_matcher_new    (const <span class="returnvalue">char</span> *attributes);</pre>
2771 <p>
2772 Creates a new file attribute matcher, which matches attributes 
2773 against a given string. <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>s are reference 
2774 counted structures, and are created with a reference count of 1. If 
2775 the number of references falls to 0, the <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> is 
2776 automatically destroyed.
2777 </p>
2778 <p>
2779 The <em class="parameter"><code>attribute</code></em> string should be formatted with specific keys separated
2780 from namespaces with a double colon. Several "namespace::key" strings may be 
2781 concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). 
2782 The wildcard "*" may be used to match all keys and namespaces, or 
2783 "namespace::*" will match all keys in a given namespace. 
2784 </p>
2785 <p>
2786 Examples of strings to use:
2787 </p>
2788 <div class="table">
2789 <a name="id616776"></a><p class="title"><b>Table 3. File Attribute Matcher strings and results</b></p>
2790 <div class="table-contents"><table summary="File Attribute Matcher strings and results" border="1">
2791 <colgroup>
2792 <col>
2793 <col>
2794 </colgroup>
2795 <thead><tr>
2796 <th align="left"> Matcher String </th>
2797 <th align="left"> Matches </th>
2798 </tr></thead>
2799 <tbody>
2800 <tr>
2801 <td align="left">"*"</td>
2802 <td align="left">matches all attributes.</td>
2803 </tr>
2804 <tr>
2805 <td align="left">"standard::is-hidden"</td>
2806 <td align="left">matches only the key is-hidden in the standard namespace.</td>
2807 </tr>
2808 <tr>
2809 <td align="left">"standard::type,unix::*"</td>
2810 <td align="left">matches the type key in the standard namespace and
2811 all keys in the unix namespace.</td>
2812 </tr>
2813 </tbody>
2814 </table></div>
2815 </div>
2816 <p><br class="table-break"></p>
2817 <div class="variablelist"><table border="0">
2818 <col align="left" valign="top">
2819 <tbody>
2820 <tr>
2821 <td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td>
2822 <td> an attribute string to match.
2823 </td>
2824 </tr>
2825 <tr>
2826 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2827 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2828 </td>
2829 </tr>
2830 </tbody>
2831 </table></div>
2832 </div>
2833 <hr>
2834 <div class="refsect2" title="g_file_attribute_matcher_ref ()">
2835 <a name="g-file-attribute-matcher-ref"></a><h3>g_file_attribute_matcher_ref ()</h3>
2836 <pre class="programlisting"><a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * g_file_attribute_matcher_ref    (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);</pre>
2837 <p>
2838 References a file attribute matcher.</p>
2839 <div class="variablelist"><table border="0">
2840 <col align="left" valign="top">
2841 <tbody>
2842 <tr>
2843 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2844 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2845 </td>
2846 </tr>
2847 <tr>
2848 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2849 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2850 </td>
2851 </tr>
2852 </tbody>
2853 </table></div>
2854 </div>
2855 <hr>
2856 <div class="refsect2" title="g_file_attribute_matcher_unref ()">
2857 <a name="g-file-attribute-matcher-unref"></a><h3>g_file_attribute_matcher_unref ()</h3>
2858 <pre class="programlisting"><span class="returnvalue">void</span>                g_file_attribute_matcher_unref      (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);</pre>
2859 <p>
2860 Unreferences <em class="parameter"><code>matcher</code></em>. If the reference count falls below 1, 
2861 the <em class="parameter"><code>matcher</code></em> is automatically freed.</p>
2862 <div class="variablelist"><table border="0">
2863 <col align="left" valign="top">
2864 <tbody><tr>
2865 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2866 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2867 </td>
2868 </tr></tbody>
2869 </table></div>
2870 </div>
2871 <hr>
2872 <div class="refsect2" title="g_file_attribute_matcher_matches ()">
2873 <a name="g-file-attribute-matcher-matches"></a><h3>g_file_attribute_matcher_matches ()</h3>
2874 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_attribute_matcher_matches    (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
2875                                                          const <span class="returnvalue">char</span> *attribute);</pre>
2876 <p>
2877 Checks if an attribute will be matched by an attribute matcher. If 
2878 the matcher was created with the "*" matching string, this function
2879 will always return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
2880 <div class="variablelist"><table border="0">
2881 <col align="left" valign="top">
2882 <tbody>
2883 <tr>
2884 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2885 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2886 </td>
2887 </tr>
2888 <tr>
2889 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2890 <td> a file attribute key.
2891 </td>
2892 </tr>
2893 <tr>
2894 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2895 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>attribute</code></em> matches <em class="parameter"><code>matcher</code></em>. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2896 </td>
2897 </tr>
2898 </tbody>
2899 </table></div>
2900 </div>
2901 <hr>
2902 <div class="refsect2" title="g_file_attribute_matcher_matches_only ()">
2903 <a name="g-file-attribute-matcher-matches-only"></a><h3>g_file_attribute_matcher_matches_only ()</h3>
2904 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_attribute_matcher_matches_only
2905                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
2906                                                          const <span class="returnvalue">char</span> *attribute);</pre>
2907 <p>
2908 Checks if a attribute matcher only matches a given attribute. Always
2909 returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if "*" was used when creating the matcher.</p>
2910 <div class="variablelist"><table border="0">
2911 <col align="left" valign="top">
2912 <tbody>
2913 <tr>
2914 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2915 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2916 </td>
2917 </tr>
2918 <tr>
2919 <td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td>
2920 <td> a file attribute key.
2921 </td>
2922 </tr>
2923 <tr>
2924 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2925 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the matcher only matches <em class="parameter"><code>attribute</code></em>. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2926 </td>
2927 </tr>
2928 </tbody>
2929 </table></div>
2930 </div>
2931 <hr>
2932 <div class="refsect2" title="g_file_attribute_matcher_enumerate_namespace ()">
2933 <a name="g-file-attribute-matcher-enumerate-namespace"></a><h3>g_file_attribute_matcher_enumerate_namespace ()</h3>
2934 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_attribute_matcher_enumerate_namespace
2935                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher,
2936                                                          const <span class="returnvalue">char</span> *ns);</pre>
2937 <p>
2938 Checks if the matcher will match all of the keys in a given namespace.
2939 This will always return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a wildcard character is in use (e.g. if 
2940 matcher was created with "standard::*" and <em class="parameter"><code>ns</code></em> is "standard", or if matcher was created
2941 using "*" and namespace is anything.) 
2942 </p>
2943 <p>
2944 TODO: this is awkwardly worded.</p>
2945 <div class="variablelist"><table border="0">
2946 <col align="left" valign="top">
2947 <tbody>
2948 <tr>
2949 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2950 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2951 </td>
2952 </tr>
2953 <tr>
2954 <td><p><span class="term"><em class="parameter"><code>ns</code></em> :</span></p></td>
2955 <td> a string containing a file attribute namespace.
2956 </td>
2957 </tr>
2958 <tr>
2959 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2960 <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the matcher matches all of the entries
2961 in the given <em class="parameter"><code>ns</code></em>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2962 </td>
2963 </tr>
2964 </tbody>
2965 </table></div>
2966 </div>
2967 <hr>
2968 <div class="refsect2" title="g_file_attribute_matcher_enumerate_next ()">
2969 <a name="g-file-attribute-matcher-enumerate-next"></a><h3>g_file_attribute_matcher_enumerate_next ()</h3>
2970 <pre class="programlisting">const <span class="returnvalue">char</span> *        g_file_attribute_matcher_enumerate_next
2971                                                         (<a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *matcher);</pre>
2972 <p>
2973 Gets the next matched attribute from a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p>
2974 <div class="variablelist"><table border="0">
2975 <col align="left" valign="top">
2976 <tbody>
2977 <tr>
2978 <td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td>
2979 <td> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher" title="GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.
2980 </td>
2981 </tr>
2982 <tr>
2983 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2984 <td> a string containing the next attribute or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
2985 no more attribute exist.
2986 </td>
2987 </tr>
2988 </tbody>
2989 </table></div>
2990 </div>
2991 </div>
2992 <div class="refsect1" title="See Also">
2993 <a name="GFileInfo.see-also"></a><h2>See Also</h2>
2994 <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a>
2995 </div>
2996 </div>
2997 <div class="footer">
2998 <hr>
2999           Generated by GTK-Doc V1.13</div>
3000 </body>
3001 </html>