GnomeVFS - Filesystem Abstraction library
<<< Previous Page | Home | Up | Next Page >>>

# File Info

## Name

File Info --

## Synopsis

    #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);

## Description

## Details

### GNOME_VFS_FILE_INFO_SYMLINK()

    #define     GNOME_VFS_FILE_INFO_SYMLINK(info)

`info` : |

### GNOME_VFS_FILE_INFO_SET_SYMLINK()

    #define     GNOME_VFS_FILE_INFO_SET_SYMLINK(info, value)

`info` : |
`value` : |

### GNOME_VFS_FILE_INFO_LOCAL()

    #define     GNOME_VFS_FILE_INFO_LOCAL(info)

`info` : |

### GNOME_VFS_FILE_INFO_SET_LOCAL()

    #define     GNOME_VFS_FILE_INFO_SET_LOCAL(info, value)

`info` : |
`value` : |

### GNOME_VFS_FILE_INFO_SUID()

    #define     GNOME_VFS_FILE_INFO_SUID(info)

`info` : |

### GNOME_VFS_FILE_INFO_SGID()

    #define     GNOME_VFS_FILE_INFO_SGID(info)

`info` : |

### GNOME_VFS_FILE_INFO_STICKY()

    #define     GNOME_VFS_FILE_INFO_STICKY(info)

`info` : |

### GNOME_VFS_FILE_INFO_SET_SUID()

    #define     GNOME_VFS_FILE_INFO_SET_SUID(info, value)

`info` : |
`value` : |

### GNOME_VFS_FILE_INFO_SET_SGID()

    #define     GNOME_VFS_FILE_INFO_SET_SGID(info, value)

`info` : |
`value` : |

### GNOME_VFS_FILE_INFO_SET_STICKY()

    #define     GNOME_VFS_FILE_INFO_SET_STICKY(info, value)

`info` : |
`value` : |

### gnome_vfs_file_info_new ()

    GnomeVFSFileInfo* gnome_vfs_file_info_new   (void);

Allocate and initialize a new file information struct.

Returns : | A pointer to the new file information struct.

### gnome_vfs_file_info_unref ()

    void        gnome_vfs_file_info_unref       (GnomeVFSFileInfo *info);

Destroy `info`

`info` : | Pointer to a file information struct

### gnome_vfs_file_info_ref ()

    void        gnome_vfs_file_info_ref         (GnomeVFSFileInfo *info);

Increment reference count

`info` : | Pointer to a file information struct

### gnome_vfs_file_info_clear ()

    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

### gnome_vfs_file_info_get_mime_type ()

    const gchar* 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.

### gnome_vfs_file_info_copy ()

    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`

### gnome_vfs_file_info_dup ()

    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`.

### gnome_vfs_file_info_matches ()

    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.

### gnome_vfs_file_info_list_ref ()

    GList*      gnome_vfs_file_info_list_ref    (GList *list);

`list` : |
Returns : |

### gnome_vfs_file_info_list_unref ()

    GList*      gnome_vfs_file_info_list_unref  (GList *list);

`list` : |
Returns : |

### gnome_vfs_file_info_list_copy ()

    GList*      gnome_vfs_file_info_list_copy   (GList *list);

`list` : |
Returns : |

### gnome_vfs_file_info_list_free ()

    void        gnome_vfs_file_info_list_free   (GList *list);

`list` : |

<<< Previous Page | Home | Up | Next Page >>>
types | Result Codes