cong-vfs

cong-vfs —

Synopsis




GnomeVFSResult cong_vfs_new_buffer_from_file
                                            (const char *filename,
                                             char **buffer,
                                             GnomeVFSFileSize *size);
GnomeVFSResult cong_vfs_new_buffer_from_uri (GnomeVFSURI *uri,
                                             char **buffer,
                                             GnomeVFSFileSize *size);
GnomeVFSResult cong_vfs_save_xml_to_uri     (xmlDocPtr doc_ptr,
                                             GnomeVFSURI *file_uri,
                                             GnomeVFSFileSize *output_file_size);
gchar*      cong_vfs_get_local_path_from_uri
                                            (GnomeVFSURI *uri);
void        cong_vfs_split_uri              (const GnomeVFSURI *uri,
                                             gchar **filename_alone,
                                             gchar **path);

Description

Details

cong_vfs_new_buffer_from_file ()

GnomeVFSResult cong_vfs_new_buffer_from_file
                                            (const char *filename,
                                             char **buffer,
                                             GnomeVFSFileSize *size);

A routine that tries to syncronously load a file into a buffer in memory (surely this exists already somewhere?) (I believe that CVS gnome-vfs has a routine gnome_vfs_read_entire_file that does this)

filename :
buffer :
size :
Returns :

cong_vfs_new_buffer_from_uri ()

GnomeVFSResult cong_vfs_new_buffer_from_uri (GnomeVFSURI *uri,
                                             char **buffer,
                                             GnomeVFSFileSize *size);

A routine that tries to syncronously load a file into a buffer in memory (surely this exists already somewhere?)

uri :
buffer :
size :
Returns :

cong_vfs_save_xml_to_uri ()

GnomeVFSResult cong_vfs_save_xml_to_uri     (xmlDocPtr doc_ptr,
                                             GnomeVFSURI *file_uri,
                                             GnomeVFSFileSize *output_file_size);

doc_ptr :
file_uri :
output_file_size :
Returns :

cong_vfs_get_local_path_from_uri ()

gchar*      cong_vfs_get_local_path_from_uri
                                            (GnomeVFSURI *uri);

uri :
Returns :

cong_vfs_split_uri ()

void        cong_vfs_split_uri              (const GnomeVFSURI *uri,
                                             gchar **filename_alone,
                                             gchar **path);

uri :
filename_alone :
path :