dl.h 1.5 KB

12345678910111213141516171819202122232425262728293031
  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. | https://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. #ifndef DL_H
  19. #define DL_H
  20. PHPAPI int php_load_extension(const char *filename, int type, int start_now);
  21. PHPAPI void php_dl(const char *file, int type, zval *return_value, int start_now);
  22. PHPAPI void *php_load_shlib(const char *path, char **errp);
  23. /* dynamic loading functions */
  24. PHPAPI PHP_FUNCTION(dl);
  25. PHP_MINFO_FUNCTION(dl);
  26. #endif /* DL_H */