pidgin/win32/untar.h

Tue, 07 May 2013 05:04:46 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Tue, 07 May 2013 05:04:46 -0400
changeset 33923
0fcc5635daba
parent 32206
a2c62b07ae5a
child 39383
0f9d49617abc
permissions
-rw-r--r--

Rewrite debug window filter in JS.

Note, this does cause a couple regressions, but they are probably not
that big a deal. First, the JS regular expression syntax is slightly
different. Second, the JS regex API lacks a way to reliably determine
the location of matched groups, so we can't highlight just the groups
and must highlight the entire expression.

I suspect that none of our users ever had to use any fancy regex in the
debug window, and that most of our developers didn't even know it could
be done. So I doubt these regressions will cause much pain.

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
32206
a2c62b07ae5a Please correct me if I'm wrong, but I don't think we gain anything
Mark Doliner <markdoliner@pidgin.im>
parents: 22686
diff changeset
15 typedef enum {
5005
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