|
|
|
/*
|
|
|
|
* Copyright (C) 2007-2008 Sourcefire, Inc.
|
|
|
|
*
|
|
|
|
* Authors: Nigel Horne
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* Change History:
|
|
|
|
* $Log: untar.h,v $
|
|
|
|
* Revision 1.5 2006/12/22 18:29:13 njh
|
|
|
|
* Recommit fix for bug 153
|
|
|
|
*
|
|
|
|
* Revision 1.4 2006/04/09 19:59:28 kojm
|
|
|
|
* update GPL headers with new address for FSF
|
|
|
|
*
|
|
|
|
* Revision 1.3 2005/03/22 21:26:27 kojm
|
|
|
|
* add support for old fashioned tar archives
|
|
|
|
*
|
|
|
|
* Revision 1.2 2004/09/05 18:58:22 nigelhorne
|
|
|
|
* Extract files completed
|
|
|
|
*
|
|
|
|
* Revision 1.1 2004/09/05 15:28:10 nigelhorne
|
|
|
|
* First draft
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UNTAR_H
|
|
|
|
#define __UNTAR_H
|
|
|
|
|
|
|
|
#include "others.h"
|
|
|
|
|
|
|
|
int cli_untar(const char *dir, unsigned int posix, cli_ctx *ctx);
|
|
|
|
|
|
|
|
#endif
|