]> git.draconx.ca Git - upkg.git/blobdiff - src/upkg.h
Export the decode_index function from the upkg library.
[upkg.git] / src / upkg.h
index ef6363ec0fc1378ab7037e4c0ef4fd4eb9215210..ab2dacbb261bf02b41908d5f1a7cfce1e0cf2240 100644 (file)
@@ -65,4 +65,6 @@ struct upkg_file *upkg_export_open(struct upkg *pkg, unsigned long idx);
 size_t upkg_export_read(struct upkg_file *f, void *buf, size_t n);
 void upkg_export_close(struct upkg_file *f);
 
+size_t upkg_decode_index(long *val, unsigned char *bytes, size_t n);
+
 #endif