Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. void root_repertory(struct iso_prim_voldesc *iso, struct iso_dir **dir, char
  2. *ptr, void *temp_dir)
  3. {
  4. *dir = &iso->root_dir;
  5. temp_dir = *dir;
  6. ptr = temp_dir;
  7. ptr += ((*dir)->data_blk.le - 16) * ISO_BLOCK_SIZE - 156;
  8. temp_dir = ptr;
  9. *dir = temp_dir;
  10. return;
  11. }
  12.  
  13. void repertory(void *temp_iso, struct iso_dir **dir)
  14. {
  15. char *temp_char = temp_iso;
  16. temp_char += ((*dir)->data_blk.le - 16) * ISO_BLOCK_SIZE;
  17. temp_iso = temp_char;
  18. *dir = temp_iso;
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement