![]() |
![]() |
![]() |
Grits Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <glib/gstdio.h> enum GritsCacheType; void (*GritsChunkCallback) (gchar *file
,goffset cur
,goffset total
,gpointer user_data
); FILE * fopen_p (const gchar *path
,const gchar *mode
);
typedef enum { GRITS_LOCAL, GRITS_ONCE, GRITS_UPDATE, GRITS_REFRESH, } GritsCacheType;
Various methods for caching data
void (*GritsChunkCallback) (gchar *file
,goffset cur
,goffset total
,gpointer user_data
);
Function called when part of a file is fetched Used for updating progress bars, etc
|
path to the file which is being fetched |
|
current offset in the file |
|
total size of the file |
|
the user_data argument passed to the function |