annotate libaudacious/vfs.h @ 506:4d3b74821345 trunk

[svn] Add a line between the time and the track name.
author nenolod
date Wed, 25 Jan 2006 22:22:45 -0800
parents cb178e5ad177
children 86ca43d8a845
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 #ifndef VFS_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 #define VFS_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 #include <glib.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 #include <stdio.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 typedef struct _VFSFile VFSFile;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 G_BEGIN_DECLS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 /* Reserved for private use by BMP */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 gboolean vfs_init(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 VFSFile * vfs_fopen(const gchar * path,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 const gchar * mode);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 gint vfs_fclose(VFSFile * file);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 size_t vfs_fread(gpointer ptr,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 size_t size,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 size_t nmemb,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 VFSFile * file);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 size_t vfs_fwrite(gconstpointer ptr,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 size_t size,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 size_t nmemb,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 VFSFile *file);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 gint vfs_fseek(VFSFile * file,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 glong offset,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 gint whence);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 void vfs_rewind(VFSFile * file);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 glong vfs_ftell(VFSFile * file);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 gboolean vfs_file_test(const gchar * path,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 GFileTest test);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 gboolean vfs_is_writeable(const gchar * path);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 gboolean vfs_truncate(VFSFile * file, glong length);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 G_END_DECLS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 #endif /* VFS_H */