VfsFileLookupFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
[ 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 a 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 look up a File for. This can either be a URI or a parse name as returned by get_parse_name

user_data

user data passed to the function, or null

Returns:

a File for identifier.


Namespace: GLib
Package: gio-2.0