view src/win32/untar.h @ 11543:8be7f4c472cf

[gaim-migrate @ 13798] This was not right, if we didn't read any data from the socket because we'd already read it all, we were returning ENOTCONN. I wonder if there was a reason that we were doing this? The reason I noticed this was that libgg code relies on getting a 0 when all data has been read. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 14 Sep 2005 04:38:02 +0000
parents a1f9725f4816
children
line wrap: on
line source

/*
 *  untar.h
 *
 *  Author: Herman Bloggs <hermanator12002@yahoo.com>
 *  Date: April, 2003
 *  Description: untar.c header
 */
#ifndef _UNTAR_H_
#define _UNTAR_H_

typedef enum _untar_opt {
	UNTAR_LISTING =      (1 << 0),
	UNTAR_QUIET =        (1 << 1),
	UNTAR_VERBOSE =      (1 << 2),
	UNTAR_FORCE =        (1 << 3),
	UNTAR_ABSPATH =      (1 << 4),
	UNTAR_CONVERT =      (1 << 5)
} untar_opt;

int untar(const char *filename, const char *destdir, untar_opt options);

#endif