GnomeVFS - Filesystem Abstraction library | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
GnomeVFSFileInfo* gnome_vfs_file_info_new (void); |
Allocate and initialize a new file information struct.
Returns : | A pointer to the new file information struct. |
void gnome_vfs_file_info_unref (GnomeVFSFileInfo *info); |
Destroy info
info : | Pointer to a file information struct |
void gnome_vfs_file_info_ref (GnomeVFSFileInfo *info); |
Increment reference count
info : | Pointer to a file information struct |
void gnome_vfs_file_info_clear (GnomeVFSFileInfo *info); |
Clear info so that it's ready to accept new data. This is supposed to be used when info already contains meaningful information which we want to replace.
info : | Pointer to a file information struct |
const char* gnome_vfs_file_info_get_mime_type (GnomeVFSFileInfo *info); |
Retrieve MIME type from info. There is no need to free the return value.
info : | A pointer to a file information struct |
Returns : | A pointer to a string representing the MIME type. |
void gnome_vfs_file_info_copy (GnomeVFSFileInfo *dest, const GnomeVFSFileInfo *src); |
Copy information from src into dest.
dest : | Pointer to a struct to copy src's information into |
src : | Pointer to the information to be copied into dest |
GnomeVFSFileInfo* gnome_vfs_file_info_dup (const GnomeVFSFileInfo *orig); |
orig : | Pointer to a file information structure to duplicate |
Returns : | a new file information struct that duplicates the information in orig. |
gboolean gnome_vfs_file_info_matches (const GnomeVFSFileInfo *a, const GnomeVFSFileInfo *b); |
Compare the two file info structs, return TRUE if they match.
a : | first GnomeVFSFileInfo struct to compare |
b : | second GnomeVFSFileInfo struct to compare |
Returns : | TRUE if the two GnomeVFSFileInfos match, otherwise return FALSE. |
GList* gnome_vfs_file_info_list_unref (GList *list); |
list : | |
Returns : |
|