1Gnome2::VFS::Async(3) User Contributed Perl DocumentationGnome2::VFS::Async(3)
2
3
4

NAME

6       Gnome2::VFS::Async
7

METHODS

9       handle = Gnome2::VFS::Async->create ($text_uri, $open_mode, $exclusive,
10       $perm, $priority, $func, $data=undef)
11
12           * $text_uri (string)
13           * $open_mode (Gnome2::VFS::OpenMode)
14           * $exclusive (boolean)
15           * $perm (integer)
16           * $priority (integer)
17           * $func (scalar)
18           * $data (scalar)
19
20       handle = Gnome2::VFS::Async->create_symbolic_link ($uri, $uri_refer‐
21       ence, $priority, $func, $data=undef)
22
23           * $uri (Gnome2::VFS::URI)
24           * $uri_reference (string)
25           * $priority (integer)
26           * $func (scalar)
27           * $data (scalar)
28
29       handle = Gnome2::VFS::Async->create_uri ($uri, $open_mode, $exclusive,
30       $perm, $priority, $func, $data=undef)
31
32           * $uri (Gnome2::VFS::URI)
33           * $open_mode (Gnome2::VFS::OpenMode)
34           * $exclusive (boolean)
35           * $perm (integer)
36           * $priority (integer)
37           * $func (scalar)
38           * $data (scalar)
39
40       handle = Gnome2::VFS::Async->get_file_info ($uri_ref, $options, $prior‐
41       ity, $func, $data=undef)
42
43           * $uri_ref (scalar)
44           * $options (Gnome2::VFS::FileInfoOptions)
45           * $priority (integer)
46           * $func (scalar)
47           * $data (scalar)
48
49       handle = Gnome2::VFS::Async->set_file_info ($uri, $info, $mask,
50       $options, $priority, $func, $data=undef)
51
52           * $uri (Gnome2::VFS::URI)
53           * $info (Gnome2::VFS::FileInfo)
54           * $mask (Gnome2::VFS::SetFileInfoMask)
55           * $options (Gnome2::VFS::FileInfoOptions)
56           * $priority (integer)
57           * $func (scalar)
58           * $data (scalar)
59
60       handle = Gnome2::VFS::Async->find_directory ($near_ref, $kind, $cre‐
61       ate_if_needed, $find_if_needed, $permissions, $priority, $func,
62       $data=undef)
63
64           * $near_ref (scalar)
65           * $kind (Gnome2::VFS::FindDirectoryKind)
66           * $create_if_needed (boolean)
67           * $find_if_needed (boolean)
68           * $permissions (integer)
69           * $priority (integer)
70           * $func (scalar)
71           * $data (scalar)
72
73       integer = Gnome2::VFS::Async->get_job_limit
74
75       Gnome2::VFS::Async->set_job_limit ($limit)
76
77           * $limit (integer)
78
79       handle = Gnome2::VFS::Async->load_directory ($text_uri, $options,
80       $items_per_notification, $priority, $func, $data=undef)
81
82           * $text_uri (string)
83           * $options (Gnome2::VFS::FileInfoOptions)
84           * $items_per_notification (integer)
85           * $priority (integer)
86           * $func (scalar)
87           * $data (scalar)
88
89       handle = Gnome2::VFS::Async->load_directory_uri ($uri, $options,
90       $items_per_notification, $priority, $func, $data=undef)
91
92           * $uri (Gnome2::VFS::URI)
93           * $options (Gnome2::VFS::FileInfoOptions)
94           * $items_per_notification (integer)
95           * $priority (integer)
96           * $func (scalar)
97           * $data (scalar)
98
99       handle = Gnome2::VFS::Async->open ($text_uri, $open_mode, $priority,
100       $func, $data=undef)
101
102           * $text_uri (string)
103           * $open_mode (Gnome2::VFS::OpenMode)
104           * $priority (integer)
105           * $func (scalar)
106           * $data (scalar)
107
108       handle = Gnome2::VFS::Async->open_uri ($uri, $open_mode, $priority,
109       $func, $data=undef)
110
111           * $uri (Gnome2::VFS::URI)
112           * $open_mode (Gnome2::VFS::OpenMode)
113           * $priority (integer)
114           * $func (scalar)
115           * $data (scalar)
116
117       list = Gnome2::VFS::Async->xfer ($source_ref, $target_ref,
118       $xfer_options, $error_mode, $overwrite_mode, $priority, $func_update,
119       $data_update, $func_sync, $data_sync=undef)
120
121           * $source_ref (scalar)
122           * $target_ref (scalar)
123           * $xfer_options (Gnome2::VFS::XferOptions)
124           * $error_mode (Gnome2::VFS::XferErrorMode)
125           * $overwrite_mode (Gnome2::VFS::XferOverwriteMode)
126           * $priority (integer)
127           * $func_update (scalar)
128           * $data_update (scalar)
129           * $func_sync (scalar)
130           * $data_sync (scalar)
131
132           Returns a GnomeVFSResult and a GnomeVFSAsyncHandle.
133

ENUMS AND FLAGS

135       flags Gnome2::VFS::FileInfoOptions
136
137       * 'default' / 'GNOME_VFS_FILE_INFO_DEFAULT'
138       * 'get-mime-type' / 'GNOME_VFS_FILE_INFO_GET_MIME_TYPE'
139       * 'force-fast-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE'
140       * 'force-slow-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE'
141       * 'follow-links' / 'GNOME_VFS_FILE_INFO_FOLLOW_LINKS'
142       * 'get-access-rights' / 'GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS'
143       * 'name-only' / 'GNOME_VFS_FILE_INFO_NAME_ONLY'
144       * 'get-acl' / 'GNOME_VFS_FILE_INFO_GET_ACL'
145       * 'get-selinux-context' / 'GNOME_VFS_FILE_INFO_GET_SELINUX_CONTEXT'
146
147       enum Gnome2::VFS::FindDirectoryKind
148
149       * 'desktop' / 'GNOME_VFS_DIRECTORY_KIND_DESKTOP'
150       * 'trash' / 'GNOME_VFS_DIRECTORY_KIND_TRASH'
151
152       flags Gnome2::VFS::OpenMode
153
154       * 'none' / 'GNOME_VFS_OPEN_NONE'
155       * 'read' / 'GNOME_VFS_OPEN_READ'
156       * 'write' / 'GNOME_VFS_OPEN_WRITE'
157       * 'random' / 'GNOME_VFS_OPEN_RANDOM'
158       * 'truncate' / 'GNOME_VFS_OPEN_TRUNCATE'
159
160       flags Gnome2::VFS::SetFileInfoMask
161
162       * 'none' / 'GNOME_VFS_SET_FILE_INFO_NONE'
163       * 'name' / 'GNOME_VFS_SET_FILE_INFO_NAME'
164       * 'permissions' / 'GNOME_VFS_SET_FILE_INFO_PERMISSIONS'
165       * 'owner' / 'GNOME_VFS_SET_FILE_INFO_OWNER'
166       * 'time' / 'GNOME_VFS_SET_FILE_INFO_TIME'
167       * 'acl' / 'GNOME_VFS_SET_FILE_INFO_ACL'
168       * 'selinux-context' / 'GNOME_VFS_SET_FILE_INFO_SELINUX_CONTEXT'
169       * 'symlink-name' / 'GNOME_VFS_SET_FILE_INFO_SYMLINK_NAME'
170
171       enum Gnome2::VFS::XferErrorMode
172
173       * 'abort' / 'GNOME_VFS_XFER_ERROR_MODE_ABORT'
174       * 'query' / 'GNOME_VFS_XFER_ERROR_MODE_QUERY'
175
176       flags Gnome2::VFS::XferOptions
177
178       * 'default' / 'GNOME_VFS_XFER_DEFAULT'
179       * 'unused-1' / 'GNOME_VFS_XFER_UNUSED_1'
180       * 'follow-links' / 'GNOME_VFS_XFER_FOLLOW_LINKS'
181       * 'unused-2' / 'GNOME_VFS_XFER_UNUSED_2'
182       * 'recursive' / 'GNOME_VFS_XFER_RECURSIVE'
183       * 'samefs' / 'GNOME_VFS_XFER_SAMEFS'
184       * 'delete-items' / 'GNOME_VFS_XFER_DELETE_ITEMS'
185       * 'empty-directories' / 'GNOME_VFS_XFER_EMPTY_DIRECTORIES'
186       * 'new-unique-directory' / 'GNOME_VFS_XFER_NEW_UNIQUE_DIRECTORY'
187       * 'removesource' / 'GNOME_VFS_XFER_REMOVESOURCE'
188       * 'use-unique-names' / 'GNOME_VFS_XFER_USE_UNIQUE_NAMES'
189       * 'link-items' / 'GNOME_VFS_XFER_LINK_ITEMS'
190       * 'follow-links-recursive' / 'GNOME_VFS_XFER_FOLLOW_LINKS_RECURSIVE'
191       * 'target-default-perms' / 'GNOME_VFS_XFER_TARGET_DEFAULT_PERMS'
192
193       enum Gnome2::VFS::XferOverwriteMode
194
195       * 'abort' / 'GNOME_VFS_XFER_OVERWRITE_MODE_ABORT'
196       * 'query' / 'GNOME_VFS_XFER_OVERWRITE_MODE_QUERY'
197       * 'replace' / 'GNOME_VFS_XFER_OVERWRITE_MODE_REPLACE'
198       * 'skip' / 'GNOME_VFS_XFER_OVERWRITE_MODE_SKIP'
199

SEE ALSO

201       Gnome2::VFS
202
204       Copyright (C) 2003-2007 by the gtk2-perl team.
205
206       This software is licensed under the LGPL.  See Gnome2::VFS for a full
207       notice.
208
209
210
211perl v5.8.8                       2007-10-24             Gnome2::VFS::Async(3)
Impressum