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

# utils

## Name

utils --

## Synopsis

    char*       gnome_vfs_format_file_size_for_display
                                                (GnomeVFSFileSize size);
    char*       gnome_vfs_escape_string         (const char *string);
    char*       gnome_vfs_escape_path_string    (const char *path);
    char*       gnome_vfs_escape_host_and_path_string
                                                (const char *path);
    char*       gnome_vfs_escape_slashes        (const char *string);
    char*       gnome_vfs_escape_set            (const char *string,
                                                 const char *match_set);
    char*       gnome_vfs_unescape_string       (const char *string,
                                                 const char *illegal_characters);
    char*       gnome_vfs_make_uri_canonical    (const char *uri);
    char*       gnome_vfs_make_path_name_canonical
                                                (const char *path);
    char*       gnome_vfs_expand_initial_tilde  (const char *path);
    char*       gnome_vfs_unescape_string_for_display
                                                (const char *escaped);
    char*       gnome_vfs_get_local_path_from_uri
                                                (const char *uri);
    char*       gnome_vfs_get_uri_from_local_path
                                                (const char *local_full_path);
    gboolean    gnome_vfs_is_executable_command_string
                                                (const char *command_string);
    void        gnome_vfs_list_deep_free        (GList *list);
    GnomeVFSResult gnome_vfs_get_volume_free_space
                                                (const GnomeVFSURI *vfs_uri,
                                                 GnomeVFSFileSize *size);
    char*       gnome_vfs_icon_path_from_filename
                                                (const char *filename);
    #define     GNOME_VFS_ASSERT_PRIMARY_THREAD
    #define     GNOME_VFS_ASSERT_SECONDARY_THREAD
    gboolean    gnome_vfs_is_primary_thread     (void);

## Description

## Details

### gnome_vfs_format_file_size_for_display ()

    char*       gnome_vfs_format_file_size_for_display
                                                (GnomeVFSFileSize size);

`size` : |
Returns : |

### gnome_vfs_escape_string ()

    char*       gnome_vfs_escape_string         (const char *string);

`string` : |
Returns : |

### gnome_vfs_escape_path_string ()

    char*       gnome_vfs_escape_path_string    (const char *path);

`path` : |
Returns : |

### gnome_vfs_escape_host_and_path_string ()

    char*       gnome_vfs_escape_host_and_path_string
                                                (const char *path);

`path` : |
Returns : |

### gnome_vfs_escape_slashes ()

    char*       gnome_vfs_escape_slashes        (const char *string);

`string` : |
Returns : |

### gnome_vfs_escape_set ()

    char*       gnome_vfs_escape_set            (const char *string,
                                                 const char *match_set);

`string` : |
`match_set` : |
Returns : |

### gnome_vfs_unescape_string ()

    char*       gnome_vfs_unescape_string       (const char *string,
                                                 const char *illegal_characters);

`string` : |
`illegal_characters` : |
Returns : |

### gnome_vfs_make_uri_canonical ()

    char*       gnome_vfs_make_uri_canonical    (const char *uri);

`uri` : |
Returns : |

### gnome_vfs_make_path_name_canonical ()

    char*       gnome_vfs_make_path_name_canonical
                                                (const char *path);

`path` : |
Returns : |

### gnome_vfs_expand_initial_tilde ()

    char*       gnome_vfs_expand_initial_tilde  (const char *path);

`path` : |
Returns : |

### gnome_vfs_unescape_string_for_display ()

    char*       gnome_vfs_unescape_string_for_display
                                                (const char *escaped);

`escaped` : |
Returns : |

### gnome_vfs_get_local_path_from_uri ()

    char*       gnome_vfs_get_local_path_from_uri
                                                (const char *uri);

Return a local path for a file:/// URI.

`uri` : |
Returns : | the local path NULL is returned on error or if the uri isn't a file: URI without a fragment identifier (or chained URI).

### gnome_vfs_get_uri_from_local_path ()

    char*       gnome_vfs_get_uri_from_local_path
                                                (const char *local_full_path);

Return a file:/// URI for a local path.

`local_full_path` : |
Returns : | the URI (NULL for some bad errors).

### gnome_vfs_is_executable_command_string ()

    gboolean    gnome_vfs_is_executable_command_string
                                                (const char *command_string);

`command_string` : |
Returns : |

### gnome_vfs_list_deep_free ()

    void        gnome_vfs_list_deep_free        (GList *list);

`list` : |

### gnome_vfs_get_volume_free_space ()

    GnomeVFSResult gnome_vfs_get_volume_free_space
                                                (const GnomeVFSURI *vfs_uri,
                                                 GnomeVFSFileSize *size);

`vfs_uri` : |
`size` : |
Returns : |

### gnome_vfs_icon_path_from_filename ()

    char*       gnome_vfs_icon_path_from_filename
                                                (const char *filename);

`filename` : |
Returns : |

### GNOME_VFS_ASSERT_PRIMARY_THREAD

    #define GNOME_VFS_ASSERT_PRIMARY_THREAD g_assert (gnome_vfs_is_primary_thread())

### GNOME_VFS_ASSERT_SECONDARY_THREAD

    #define GNOME_VFS_ASSERT_SECONDARY_THREAD g_assert (!gnome_vfs_is_primary_thread())

### gnome_vfs_is_primary_thread ()

    gboolean    gnome_vfs_is_primary_thread     (void);

Returns : |

<<< Previous Page | Home | Up |
Initialization |