VfsFileLookupFunc


Description:

[ Version ( since = "2.50" ) ]
public delegate File VfsFileLookupFunc (Vfs vfs, string identifier)

This function type is used by register_uri_scheme to make it possible for a client to associate an URI scheme to a different File implementation.

The client should return a reference to the new file that has been created for uri, or null to continue with the default implementation.

Parameters:

vfs

a Vfs

identifier

the identifier to lookup a File for. This can either be an URI or a parse name as returned by get_parse_name

user_data

user data passed to the function

Returns:

a File for identifier.


Namespace: GLib
Package: gio-2.0