#ifndef ZYB_EXTRACT_H #define ZYB_EXTRACT_H // libc #include // libzyb #include // Extract leader from an open zyb int zyb_extract_leader(FILE *fptr, struct lead *leader); // Extract (next) dependency from an open zyb int zyb_extract_dependency(FILE *fptr, struct dependency *dep); // Extract full header from an open zyb int zyb_extract_header(FILE *fptr, struct zyb_header *header); // Extract (next) file from an open zyb int zyb_extract_file(FILE *fptr, char *dir); // Extract full zyb archive int zyb_extract_FILE(FILE *fptr, char *dir); // Extract full zyb archive at `file` int zyb_extract(char *file, char *dir); #endif