| Conglomerate Programmer's Reference Manual |
|---|
cong-vfs —
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);
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 : |
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 : |
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 : |
gchar* cong_vfs_get_local_path_from_uri
(GnomeVFSURI *uri);
| uri : | |
| Returns : |
void cong_vfs_split_uri (const GnomeVFSURI *uri, gchar **filename_alone, gchar **path);
| uri : | |
| filename_alone : | |
| path : |
| << global |