a8b7c1dd |
/* |
c442ca9c |
* Copyright (C) 2013-2019 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc. |
2023340a |
*
* Authors: Nigel Horne |
6289eda8 |
*
* Summary: Extract files compressed with TAR compression format.
*
* Acknowledgements: ClamAV untar code is based on a public domain minitar utility
* by Charles G. Waldman. |
a8b7c1dd |
*
* This program is free software; you can redistribute it and/or modify |
2023340a |
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. |
a8b7c1dd |
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software |
48b7b4a7 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA. |
a8b7c1dd |
*/ |
d91ab809 |
#ifndef __UNTAR_H
#define __UNTAR_H
#include "others.h"
|
a91f6d95 |
int cli_untar(const char *dir, unsigned int posix, cli_ctx *ctx); |
d91ab809 |
#endif |