view pidgin/win32/untar.h @ 15974:1a12ce76c4f4

The network module now registers the signal 'network-configuration-changed' and emits it when a network change is detected via libnm or the win32 network monitor. The UI could also emit this signal if it knows something network.c doesn't. UPnP and NAT-PMP respond to the signal by clearing their IP address caches; changing networks without quitting/relaunching will now lead to the new IP address being (lazily) determined. This commit also enables nat-pmp and adds nat-pmp.[h|c] to the build process; please let me know if there are any problems building, as I only have OS X test machines.
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 31 Mar 2007 20:33:54 +0000
parents 5fe8042783c1
children 322b92e28005
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