#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mspack.h>
#include <error.h>
Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 12 of file oabextract.c.
25 if (
err) fprintf(stderr,
"%s -> %s: %s\n",
argv[1],
argv[2], error_msg(
err));
29 if (
err) fprintf(stderr,
"%s + %s -> %s: %s\n",
argv[1],
argv[2],
argv[3], error_msg(
err));
32 fprintf(stderr,
"Usage: %s <input> <output>\n", *
argv);
33 fprintf(stderr,
" or %s <base> <patch> <output>\n", *
argv);
38 fprintf(stderr,
"%s: can't make OAB decompressor\n", *
argv);
static static fork const void static count static fd const char const char static newpath char char argv
int(* decompress_incremental)(struct msoab_decompressor *self, const char *input, const char *base, const char *output)
int(* decompress)(struct msoab_decompressor *self, const char *input, const char *output)
References argv, msoab_decompressor::decompress, msoab_decompressor::decompress_incremental, err, mspack_create_oab_decompressor(), mspack_destroy_oab_decompressor(), MSPACK_SYS_SELFTEST, and NULL.