aboutsummaryrefslogtreecommitdiffstats
path: root/lib/siscomponentrecord.h
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-04-14 12:03:02 +0000
committerDaniel Brahneborg <basic@chello.se>2002-04-14 12:03:02 +0000
commitf1f20db42313032578ba256903d0004dd126a60a (patch)
tree228e3636eaa61d89f35bea8fd782b095758e88ca /lib/siscomponentrecord.h
parent06e892c7ae2f4d542b6e6aa4549c9585857087b6 (diff)
downloadplptools-f1f20db42313032578ba256903d0004dd126a60a.tar.gz
plptools-f1f20db42313032578ba256903d0004dd126a60a.tar.bz2
plptools-f1f20db42313032578ba256903d0004dd126a60a.zip
More correct residual sis file truncation
Diffstat (limited to 'lib/siscomponentrecord.h')
-rw-r--r--lib/siscomponentrecord.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/siscomponentrecord.h b/lib/siscomponentrecord.h
index f2bc734..1fc4ff3 100644
--- a/lib/siscomponentrecord.h
+++ b/lib/siscomponentrecord.h
@@ -50,7 +50,12 @@ public:
* @param len The length of the buffer, for range checking.
* @param sisFile The container sis file.
*/
- SisRC fillFrom(uint8_t* buf, int base, off_t len, SISFile* sisFile);
+ SisRC fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile);
+
+ /**
+ * Find out the end position for the last name in the file.
+ */
+ uint32_t getLastEnd();
/**
* Return the name for the given language.