summaryrefslogtreecommitdiffstats
path: root/src/db-parse-context.h
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-06 14:04:33 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-06 14:04:33 +0000
commit4b05e9d2384685e7260c713f5fff59c41e94f848 (patch)
tree479902bfe57b081fc40f828fb8f4366bb5988849 /src/db-parse-context.h
parenta15c5dd79529752a90635b500fc1dc1f5dc3b53a (diff)
downloadlibgpod-4b05e9d2384685e7260c713f5fff59c41e94f848.tar.gz
libgpod-4b05e9d2384685e7260c713f5fff59c41e94f848.tar.xz
libgpod-4b05e9d2384685e7260c713f5fff59c41e94f848.zip
Use GMappedFile instead of directly using mmap
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2040 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-parse-context.h')
-rw-r--r--src/db-parse-context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db-parse-context.h b/src/db-parse-context.h
index 5703ac5..43411ed 100644
--- a/src/db-parse-context.h
+++ b/src/db-parse-context.h
@@ -39,7 +39,8 @@ struct _DBParseContext {
off_t total_len;
guint byte_order;
Itdb_DB *db;
- GList **artwork;
+ GMappedFile *mapped_file;
+ GList **artwork;
};
typedef struct _DBParseContext DBParseContext;