Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*allocate an array of gob_idx_entry`s that is the size of a gob_idx_entry times the number of entries*/
- struct gob_idx_entry* dark_idx = util_alloc(sizeof(struct gob_idx_entry) * current_mastern);
- /*read the data into the index*/
- rb->read(dark_file, dark_idx, sizeof(struct gob_idx_entry) * current_mastern);
- /*splash the filename of the first index entry*/
- rb->splash(HZ, dark_idx[0].filename);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement