2000-09-12 02:56:47 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2014-09-20 00:33:14 +08:00
|
|
|
| PHP Version 7 |
|
2000-09-12 02:56:47 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2014-01-03 11:08:10 +08:00
|
|
|
| Copyright (c) 1997-2014 The PHP Group |
|
2000-09-12 02:56:47 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 20:51:34 +08:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2000-09-12 02:56:47 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
2006-01-01 20:51:34 +08:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
2000-09-12 02:56:47 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 16:29:35 +08:00
|
|
|
| Author: Zeev Suraski <zeev@zend.com> |
|
2000-09-12 02:56:47 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
2003-02-19 16:40:19 +08:00
|
|
|
/* $Id$ */
|
|
|
|
|
2000-09-12 02:56:47 +08:00
|
|
|
#ifndef PHP_OPEN_TEMPORARY_FILE_H
|
|
|
|
#define PHP_OPEN_TEMPORARY_FILE_H
|
|
|
|
|
2004-02-20 16:04:30 +08:00
|
|
|
BEGIN_EXTERN_C()
|
2001-08-05 09:43:02 +08:00
|
|
|
PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
|
2007-07-18 07:46:40 +08:00
|
|
|
PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bool open_basedir_check TSRMLS_DC);
|
2003-03-19 00:40:29 +08:00
|
|
|
PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
|
2013-01-30 04:12:34 +08:00
|
|
|
PHPAPI const char *php_get_temporary_directory(TSRMLS_D);
|
2007-07-21 09:43:33 +08:00
|
|
|
PHPAPI void php_shutdown_temporary_directory(void);
|
2004-02-20 16:04:30 +08:00
|
|
|
END_EXTERN_C()
|
2000-09-12 02:56:47 +08:00
|
|
|
|
|
|
|
#endif /* PHP_OPEN_TEMPORARY_FILE_H */
|