summaryrefslogtreecommitdiffstats
path: root/src/libarchive-test.c
blob: 46f28c11698de01b3c7e95e874948f150323af9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <archive.h>

int main(int argc, char *argv[])
{
    struct archive *tgz;

    (void)argc;
    (void)argv;

    tgz = archive_write_new();
    archive_write_set_compression_gzip(tgz);
    archive_write_set_format_ustar(tgz);
    archive_write_finish(tgz);

    return 0;
}