GFileIface

An interface for writing VFS file handles.

struct GFileIface {}

Members

Variables

MakeSymbolicLinkAsync
void function() MakeSymbolicLinkAsync;
MakeSymbolicLinkFinish
void function() MakeSymbolicLinkFinish;
MoveAsync
void function() MoveAsync;
MoveFinish
void function() MoveFinish;
QuerySettableAttributesAsync
void function() QuerySettableAttributesAsync;
QuerySettableAttributesFinish
void function() QuerySettableAttributesFinish;
QueryWritableNamespacesAsync
void function() QueryWritableNamespacesAsync;
QueryWritableNamespacesFinish
void function() QueryWritableNamespacesFinish;
appendTo
GFileOutputStream* function(GFile* file, GFileCreateFlags flags, GCancellable* cancellable, GError** err) appendTo;
appendToAsync
void function(GFile* file, GFileCreateFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) appendToAsync;
appendToFinish
GFileOutputStream* function(GFile* file, GAsyncResult* res, GError** err) appendToFinish;
copy
int function(GFile* source, GFile* destination, GFileCopyFlags flags, GCancellable* cancellable, GFileProgressCallback progressCallback, void* progressCallbackData, GError** err) copy;
copyAsync
void function(GFile* source, GFile* destination, GFileCopyFlags flags, int ioPriority, GCancellable* cancellable, GFileProgressCallback progressCallback, void* progressCallbackData, GAsyncReadyCallback callback, void* userData) copyAsync;
copyFinish
int function(GFile* file, GAsyncResult* res, GError** err) copyFinish;
create
GFileOutputStream* function(GFile* file, GFileCreateFlags flags, GCancellable* cancellable, GError** err) create;
createAsync
void function(GFile* file, GFileCreateFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) createAsync;
createFinish
GFileOutputStream* function(GFile* file, GAsyncResult* res, GError** err) createFinish;
createReadwrite
GFileIOStream* function(GFile* file, GFileCreateFlags flags, GCancellable* cancellable, GError** err) createReadwrite;
createReadwriteAsync
void function(GFile* file, GFileCreateFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) createReadwriteAsync;
createReadwriteFinish
GFileIOStream* function(GFile* file, GAsyncResult* res, GError** err) createReadwriteFinish;
deleteFile
int function(GFile* file, GCancellable* cancellable, GError** err) deleteFile;
deleteFileAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) deleteFileAsync;
deleteFileFinish
int function(GFile* file, GAsyncResult* result, GError** err) deleteFileFinish;
dup
GFile* function(GFile* file) dup;
ejectMountable
void function(GFile* file, GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) ejectMountable;
ejectMountableFinish
int function(GFile* file, GAsyncResult* result, GError** err) ejectMountableFinish;
ejectMountableWithOperation
void function(GFile* file, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) ejectMountableWithOperation;
ejectMountableWithOperationFinish
int function(GFile* file, GAsyncResult* result, GError** err) ejectMountableWithOperationFinish;
enumerateChildren
GFileEnumerator* function(GFile* file, const(char)* attributes, GFileQueryInfoFlags flags, GCancellable* cancellable, GError** err) enumerateChildren;
enumerateChildrenAsync
void function(GFile* file, const(char)* attributes, GFileQueryInfoFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) enumerateChildrenAsync;
enumerateChildrenFinish
GFileEnumerator* function(GFile* file, GAsyncResult* res, GError** err) enumerateChildrenFinish;
equal
int function(GFile* file1, GFile* file2) equal;
findEnclosingMount
GMount* function(GFile* file, GCancellable* cancellable, GError** err) findEnclosingMount;
findEnclosingMountAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) findEnclosingMountAsync;
findEnclosingMountFinish
GMount* function(GFile* file, GAsyncResult* res, GError** err) findEnclosingMountFinish;
gIface
GTypeInterface gIface;

The parent interface.

getBasename
char* function(GFile* file) getBasename;
getChildForDisplayName
GFile* function(GFile* file, const(char)* displayName, GError** err) getChildForDisplayName;
getParent
GFile* function(GFile* file) getParent;
getParseName
char* function(GFile* file) getParseName;
getPath
char* function(GFile* file) getPath;
getRelativePath
char* function(GFile* parent, GFile* descendant) getRelativePath;
getUri
char* function(GFile* file) getUri;
getUriScheme
char* function(GFile* file) getUriScheme;
hasUriScheme
int function(GFile* file, const(char)* uriScheme) hasUriScheme;
hash
uint function(GFile* file) hash;
isNative
int function(GFile* file) isNative;
makeDirectory
int function(GFile* file, GCancellable* cancellable, GError** err) makeDirectory;
makeDirectoryAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) makeDirectoryAsync;
makeDirectoryFinish
int function(GFile* file, GAsyncResult* result, GError** err) makeDirectoryFinish;
makeSymbolicLink
int function(GFile* file, char* symlinkValue, GCancellable* cancellable, GError** err) makeSymbolicLink;
measureDiskUsage
int function(GFile* file, GFileMeasureFlags flags, GCancellable* cancellable, GFileMeasureProgressCallback progressCallback, void* progressData, ulong* diskUsage, ulong* numDirs, ulong* numFiles, GError** err) measureDiskUsage;
measureDiskUsageAsync
void function(GFile* file, GFileMeasureFlags flags, int ioPriority, GCancellable* cancellable, GFileMeasureProgressCallback progressCallback, void* progressData, GAsyncReadyCallback callback, void* userData) measureDiskUsageAsync;
measureDiskUsageFinish
int function(GFile* file, GAsyncResult* result, ulong* diskUsage, ulong* numDirs, ulong* numFiles, GError** err) measureDiskUsageFinish;
monitorDir
GFileMonitor* function(GFile* file, GFileMonitorFlags flags, GCancellable* cancellable, GError** err) monitorDir;
monitorFile
GFileMonitor* function(GFile* file, GFileMonitorFlags flags, GCancellable* cancellable, GError** err) monitorFile;
mountEnclosingVolume
void function(GFile* location, GMountMountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) mountEnclosingVolume;
mountEnclosingVolumeFinish
int function(GFile* location, GAsyncResult* result, GError** err) mountEnclosingVolumeFinish;
mountMountable
void function(GFile* file, GMountMountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) mountMountable;
mountMountableFinish
GFile* function(GFile* file, GAsyncResult* result, GError** err) mountMountableFinish;
move
int function(GFile* source, GFile* destination, GFileCopyFlags flags, GCancellable* cancellable, GFileProgressCallback progressCallback, void* progressCallbackData, GError** err) move;
openReadwrite
GFileIOStream* function(GFile* file, GCancellable* cancellable, GError** err) openReadwrite;
openReadwriteAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) openReadwriteAsync;
openReadwriteFinish
GFileIOStream* function(GFile* file, GAsyncResult* res, GError** err) openReadwriteFinish;
pollMountable
void function(GFile* file, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) pollMountable;
pollMountableFinish
int function(GFile* file, GAsyncResult* result, GError** err) pollMountableFinish;
prefixMatches
int function(GFile* prefix, GFile* file) prefixMatches;
queryFilesystemInfo
GFileInfo* function(GFile* file, const(char)* attributes, GCancellable* cancellable, GError** err) queryFilesystemInfo;
queryFilesystemInfoAsync
void function(GFile* file, const(char)* attributes, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) queryFilesystemInfoAsync;
queryFilesystemInfoFinish
GFileInfo* function(GFile* file, GAsyncResult* res, GError** err) queryFilesystemInfoFinish;
queryInfo
GFileInfo* function(GFile* file, const(char)* attributes, GFileQueryInfoFlags flags, GCancellable* cancellable, GError** err) queryInfo;
queryInfoAsync
void function(GFile* file, const(char)* attributes, GFileQueryInfoFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) queryInfoAsync;
queryInfoFinish
GFileInfo* function(GFile* file, GAsyncResult* res, GError** err) queryInfoFinish;
querySettableAttributes
GFileAttributeInfoList* function(GFile* file, GCancellable* cancellable, GError** err) querySettableAttributes;
queryWritableNamespaces
GFileAttributeInfoList* function(GFile* file, GCancellable* cancellable, GError** err) queryWritableNamespaces;
readAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) readAsync;
readFinish
GFileInputStream* function(GFile* file, GAsyncResult* res, GError** err) readFinish;
readFn
GFileInputStream* function(GFile* file, GCancellable* cancellable, GError** err) readFn;
replace
GFileOutputStream* function(GFile* file, const(char)* etag, int makeBackup, GFileCreateFlags flags, GCancellable* cancellable, GError** err) replace;
replaceAsync
void function(GFile* file, const(char)* etag, int makeBackup, GFileCreateFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) replaceAsync;
replaceFinish
GFileOutputStream* function(GFile* file, GAsyncResult* res, GError** err) replaceFinish;
replaceReadwrite
GFileIOStream* function(GFile* file, const(char)* etag, int makeBackup, GFileCreateFlags flags, GCancellable* cancellable, GError** err) replaceReadwrite;
replaceReadwriteAsync
void function(GFile* file, const(char)* etag, int makeBackup, GFileCreateFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) replaceReadwriteAsync;
replaceReadwriteFinish
GFileIOStream* function(GFile* file, GAsyncResult* res, GError** err) replaceReadwriteFinish;
resolveRelativePath
GFile* function(GFile* file, char* relativePath) resolveRelativePath;
setAttribute
int function(GFile* file, const(char)* attribute, GFileAttributeType type, void* valueP, GFileQueryInfoFlags flags, GCancellable* cancellable, GError** err) setAttribute;
setAttributesAsync
void function(GFile* file, GFileInfo* info, GFileQueryInfoFlags flags, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) setAttributesAsync;
setAttributesFinish
int function(GFile* file, GAsyncResult* result, GFileInfo** info, GError** err) setAttributesFinish;
setAttributesFromInfo
int function(GFile* file, GFileInfo* info, GFileQueryInfoFlags flags, GCancellable* cancellable, GError** err) setAttributesFromInfo;
setDisplayName
GFile* function(GFile* file, const(char)* displayName, GCancellable* cancellable, GError** err) setDisplayName;
setDisplayNameAsync
void function(GFile* file, const(char)* displayName, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) setDisplayNameAsync;
setDisplayNameFinish
GFile* function(GFile* file, GAsyncResult* res, GError** err) setDisplayNameFinish;
startMountable
void function(GFile* file, GDriveStartFlags flags, GMountOperation* startOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) startMountable;
startMountableFinish
int function(GFile* file, GAsyncResult* result, GError** err) startMountableFinish;
stopMountable
void function(GFile* file, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) stopMountable;
stopMountableFinish
int function(GFile* file, GAsyncResult* result, GError** err) stopMountableFinish;
supportsThreadContexts
bool supportsThreadContexts;

a boolean that indicates whether the #GFile implementation supports thread-default contexts. Since 2.22.

trash
int function(GFile* file, GCancellable* cancellable, GError** err) trash;
trashAsync
void function(GFile* file, int ioPriority, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) trashAsync;
trashFinish
int function(GFile* file, GAsyncResult* result, GError** err) trashFinish;
unmountMountable
void function(GFile* file, GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) unmountMountable;
unmountMountableFinish
int function(GFile* file, GAsyncResult* result, GError** err) unmountMountableFinish;
unmountMountableWithOperation
void function(GFile* file, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) unmountMountableWithOperation;
unmountMountableWithOperationFinish
int function(GFile* file, GAsyncResult* result, GError** err) unmountMountableWithOperationFinish;

Meta