![]() | ![]() | ![]() | GnomeVFS - Filesystem Abstraction library | ![]() |
---|
#define GNOME_VFS_FILE_INFO_SYMLINK (info) #define GNOME_VFS_FILE_INFO_SET_SYMLINK (info, value) #define GNOME_VFS_FILE_INFO_LOCAL (info) #define GNOME_VFS_FILE_INFO_SET_LOCAL (info, value) #define GNOME_VFS_FILE_INFO_SUID (info) #define GNOME_VFS_FILE_INFO_SGID (info) #define GNOME_VFS_FILE_INFO_STICKY (info) #define GNOME_VFS_FILE_INFO_SET_SUID (info, value) #define GNOME_VFS_FILE_INFO_SET_SGID (info, value) #define GNOME_VFS_FILE_INFO_SET_STICKY (info, value) GnomeVFSFileInfo* gnome_vfs_file_info_new (void); void gnome_vfs_file_info_unref (GnomeVFSFileInfo *info); void gnome_vfs_file_info_ref (GnomeVFSFileInfo *info); void gnome_vfs_file_info_clear (GnomeVFSFileInfo *info); const gchar* gnome_vfs_file_info_get_mime_type (GnomeVFSFileInfo *info); void gnome_vfs_file_info_copy (GnomeVFSFileInfo *dest, const GnomeVFSFileInfo *src); GnomeVFSFileInfo* gnome_vfs_file_info_dup (const GnomeVFSFileInfo *orig); gboolean gnome_vfs_file_info_matches (const GnomeVFSFileInfo *a, const GnomeVFSFileInfo *b); GList* gnome_vfs_file_info_list_ref (GList *list); GList* gnome_vfs_file_info_list_unref (GList *list); GList* gnome_vfs_file_info_list_copy (GList *list); void gnome_vfs_file_info_list_free (GList *list);
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 gchar* gnome_vfs_file_info_get_mime_type (GnomeVFSFileInfo *info);
Retrieve MIME type from info.
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 : | |
b : | |
Returns : |
|
GList* gnome_vfs_file_info_list_unref (GList *list);
list : | |
Returns : |
|
<<< types | Result Codes >>> |