xref: /PHP-5.5/ext/phar/php_phar.h (revision 73c1be26)
1 /*
2   +----------------------------------------------------------------------+
3   | phar php single-file executable PHP extension                        |
4   +----------------------------------------------------------------------+
5   | Copyright (c) 2005-2015 The PHP Group                                |
6   +----------------------------------------------------------------------+
7   | This source file is subject to version 3.01 of the PHP license,      |
8   | that is bundled with this package in the file LICENSE, and is        |
9   | available through the world-wide-web at the following url:           |
10   | http://www.php.net/license/3_01.txt.                                 |
11   | If you did not receive a copy of the PHP license and are unable to   |
12   | obtain it through the world-wide-web, please send a note to          |
13   | license@php.net so we can mail you a copy immediately.               |
14   +----------------------------------------------------------------------+
15   | Authors: Gregory Beaver <cellog@php.net>                             |
16   |          Marcus Boerger <helly@php.net>                              |
17   +----------------------------------------------------------------------+
18 */
19 
20 /* $Id$ */
21 
22 #ifndef PHP_PHAR_H
23 #define PHP_PHAR_H
24 
25 #define PHP_PHAR_VERSION "2.0.2"
26 
27 #include "ext/standard/basic_functions.h"
28 extern zend_module_entry phar_module_entry;
29 #define phpext_phar_ptr &phar_module_entry
30 
31 #ifdef PHP_WIN32
32 #define PHP_PHAR_API __declspec(dllexport)
33 #else
34 #define PHP_PHAR_API PHPAPI
35 #endif
36 
37 PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len TSRMLS_DC);
38 
39 #endif /* PHP_PHAR_H */
40 
41 
42 /*
43  * Local variables:
44  * tab-width: 4
45  * c-basic-offset: 4
46  * End:
47  * vim600: noet sw=4 ts=4 fdm=marker
48  * vim<600: noet sw=4 ts=4
49  */
50