15main(
int argc,
char *argv[]) {
17 printf(
"Usage: %s <sqsh-file>\n", argv[0]);
21 assert(archive != NULL);
24 assert(dir_list != NULL);
26 for (
int i = 0; dir_list[i] != NULL; i++) {
int main(int argc, char *argv[])
char ** sqsh_easy_directory_list(struct SqshArchive *archive, const char *path, int *err)
retrieves the contents of a directory as a list of file names
SQSH_NO_UNUSED struct SqshArchive * sqsh_archive_open(const void *source, const struct SqshConfig *config, int *err)
initializes a archive context in heap.
int sqsh_archive_close(struct SqshArchive *archive)
Frees the resources used by a Sqsh instance.