xref: /PHP-8.0/ext/standard/dl.h (revision 88355dd3)
1 /*
2    +----------------------------------------------------------------------+
3    | Copyright (c) The PHP Group                                          |
4    +----------------------------------------------------------------------+
5    | This source file is subject to version 3.01 of the PHP license,      |
6    | that is bundled with this package in the file LICENSE, and is        |
7    | available through the world-wide-web at the following url:           |
8    | http://www.php.net/license/3_01.txt                                  |
9    | If you did not receive a copy of the PHP license and are unable to   |
10    | obtain it through the world-wide-web, please send a note to          |
11    | license@php.net so we can mail you a copy immediately.               |
12    +----------------------------------------------------------------------+
13    | Authors: Brian Schaffner <brian@tool.net>                            |
14    |          Shane Caraveo <shane@caraveo.com>                           |
15    |          Zeev Suraski <zeev@php.net>                                 |
16    +----------------------------------------------------------------------+
17 */
18 
19 #ifndef DL_H
20 #define DL_H
21 
22 PHPAPI int php_load_extension(const char *filename, int type, int start_now);
23 PHPAPI void php_dl(const char *file, int type, zval *return_value, int start_now);
24 PHPAPI void *php_load_shlib(const char *path, char **errp);
25 
26 /* dynamic loading functions */
27 PHPAPI PHP_FUNCTION(dl);
28 
29 PHP_MINFO_FUNCTION(dl);
30 
31 #endif /* DL_H */
32