summaryrefslogtreecommitdiffstats
path: root/src/db-parse-context.h
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-07-06 14:04:33 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-07-06 14:04:33 +0000
commit35a75d4a7a0bfa12f04d65235f14fe10de079653 (patch)
tree479902bfe57b081fc40f828fb8f4366bb5988849 /src/db-parse-context.h
parent9ab003061df4f4a84591e966412db30498df46e7 (diff)
downloadlibgpod-35a75d4a7a0bfa12f04d65235f14fe10de079653.tar.gz
libgpod-35a75d4a7a0bfa12f04d65235f14fe10de079653.tar.xz
libgpod-35a75d4a7a0bfa12f04d65235f14fe10de079653.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;