pidgin/win32/untar.h

Mon, 28 Jul 2008 00:52:54 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Mon, 28 Jul 2008 00:52:54 +0000
changeset 23915
b62601fd6e7d
parent 22686
d41016d7812d
child 32206
a2c62b07ae5a
permissions
-rw-r--r--

Update the Perl plugin loader to work with Perl 5.10.
I don't think this will break compiling with older versions (note that Perl
micro versions are not binary compatible).
Update the win32 build to use (and require and upgrade to Perl 5.10).
Fixes #5137

5005
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
1 /*
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
2 * untar.h
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
3 *
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
4 * Author: Herman Bloggs <hermanator12002@yahoo.com>
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
5 * Date: April, 2003
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
6 * Description: untar.c header
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
7 */
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
8 #ifndef _UNTAR_H_
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
9 #define _UNTAR_H_
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
10
22686
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
11 #ifdef __cplusplus
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
12 extern "C" {
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
13 #endif /* __cplusplus */
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
14
5005
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
15 typedef enum _untar_opt {
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
16 UNTAR_LISTING = (1 << 0),
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
17 UNTAR_QUIET = (1 << 1),
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
18 UNTAR_VERBOSE = (1 << 2),
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
19 UNTAR_FORCE = (1 << 3),
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
20 UNTAR_ABSPATH = (1 << 4),
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
21 UNTAR_CONVERT = (1 << 5)
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
22 } untar_opt;
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
23
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
24 int untar(const char *filename, const char *destdir, untar_opt options);
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
25
22686
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
26 #ifdef __cplusplus
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
27 }
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
28 #endif /* __cplusplus */
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
29
5005
43720615dffc [gaim-migrate @ 5340]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
30 #endif

mercurial