Class Vfs
public class Vfs
- Inheritance
-
Vfs
- Inherited Members
Methods
GetDefault()
Calls native function g_vfs_get_default.
public static extern IntPtr GetDefault()
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetFileForPath(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_vfs_get_file_for_path.
public static extern IntPtr GetFileForPath(IntPtr vfs, NonNullableUtf8StringHandle path)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetFileForUri(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_vfs_get_file_for_uri.
public static extern IntPtr GetFileForUri(IntPtr vfs, NonNullableUtf8StringHandle uri)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetGType()
Calls native function g_vfs_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetLocal()
Calls native function g_vfs_get_local.
public static extern IntPtr GetLocal()
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetSupportedUriSchemes(IntPtr)
Calls native method g_vfs_get_supported_uri_schemes.
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetSupportedUriSchemes(IntPtr vfs)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
IsActive(IntPtr)
Calls native method g_vfs_is_active.
public static extern bool IsActive(IntPtr vfs)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ParseName(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_vfs_parse_name.
public static extern IntPtr ParseName(IntPtr vfs, NonNullableUtf8StringHandle parseName)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
parseName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RegisterUriScheme(IntPtr, NonNullableUtf8StringHandle, VfsFileLookupFunc, IntPtr, DestroyNotify, VfsFileLookupFunc, IntPtr, DestroyNotify)
Calls native method g_vfs_register_uri_scheme. Version: 2.50
[Version("2.50")]
public static extern bool RegisterUriScheme(IntPtr vfs, NonNullableUtf8StringHandle scheme, VfsFileLookupFunc uriFunc, IntPtr uriData, DestroyNotify uriDestroy, VfsFileLookupFunc parseNameFunc, IntPtr parseNameData, DestroyNotify parseNameDestroy)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
scheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
uriFunc
VfsFileLookupFuncTransfer ownership: None Nullable: True
uriData
IntPtrTransfer ownership: None Nullable: True
uriDestroy
DestroyNotifyTransfer ownership: None Nullable: True
parseNameFunc
VfsFileLookupFuncTransfer ownership: None Nullable: True
parseNameData
IntPtrTransfer ownership: None Nullable: True
parseNameDestroy
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
UnregisterUriScheme(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_vfs_unregister_uri_scheme. Version: 2.50
[Version("2.50")]
public static extern bool UnregisterUriScheme(IntPtr vfs, NonNullableUtf8StringHandle scheme)
Parameters
vfs
IntPtrTransfer ownership: None Nullable: False
scheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False