FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ununpack-zstd.c File Reference

The universal unpacker - Code to unpack a ZSTd compressed file. More...

#include "ununpack.h"
#include "externs.h"
Include dependency graph for ununpack-zstd.c:

Go to the source code of this file.

Functions

int ExtractZstd (char *Source, const char *OrigName, char *Destination)
 Given a ZSTd file, extract the contents to the directory. More...
 

Detailed Description

The universal unpacker - Code to unpack a ZSTd compressed file.

Definition in file ununpack-zstd.c.

Function Documentation

◆ ExtractZstd()

int ExtractZstd ( char *  Source,
const char *  OrigName,
char *  Destination 
)

Given a ZSTd file, extract the contents to the directory.

Parameters
SourcePathname of source file
OrigNameOriginal name of file
DestinationUnpack destination
Returns
0 on success, non-zero on failure.

Definition at line 23 of file ununpack-zstd.c.