Updated interface for jd_open()
authorSteve McIntyre <steve@einval.com>
Mon, 30 May 2005 17:47:44 +0000 (17:47 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 30 May 2005 17:47:44 +0000 (17:47 +0000)
jte.h
mkimage.c

diff --git a/jte.h b/jte.h
index e359bf1..bfa9a3b 100644 (file)
--- a/jte.h
+++ b/jte.h
@@ -16,7 +16,7 @@ typedef unsigned long      UINT32;
 #define JD void
 
 /* Limited FS-like interface to an ISO image */
-JD *jd_open(char *template_file);
+JD *jd_open(JIGDB *dbp, char *template_file);
 int jd_read(JD *state, INT64 start_offset, INT64 length, unsigned char *buffer, INT64 *bytes_read);
 int jd_md5(JD *state, unsigned char md5[16]);
 int jd_size(JD *state, INT64 *size);
index 27b7d38..fa31352 100644 (file)
--- a/mkimage.c
+++ b/mkimage.c
@@ -354,7 +354,7 @@ int main(int argc, char **argv)
         }
     }
 
-    jdp = jd_open(template_filename);
+    jdp = jd_open(dbp, template_filename);
     if (!jdp)
     {
         error = errno;