mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
84 lines
3.2 KiB
C
84 lines
3.2 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| PHP HTML Embedded Scripting Language Version 3.0 |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1997-1999 PHP Development Team (See Credits file) |
|
|
+----------------------------------------------------------------------+
|
|
| This program is free software; you can redistribute it and/or modify |
|
|
| it under the terms of one of the following licenses: |
|
|
| |
|
|
| A) the GNU General Public License as published by the Free Software |
|
|
| Foundation; either version 2 of the License, or (at your option) |
|
|
| any later version. |
|
|
| |
|
|
| B) the PHP License as published by the PHP Development Team and |
|
|
| included in the distribution in the file: LICENSE |
|
|
| |
|
|
| This program is distributed in the hope that it will be useful, |
|
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
| GNU General Public License for more details. |
|
|
| |
|
|
| You should have received a copy of both licenses referred to here. |
|
|
| If you did not, or have any questions about PHP licensing, please |
|
|
| contact core@php.net. |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
/* $Id$ */
|
|
|
|
/* Synced with php 3.0 revision 1.30 1999-06-16 [ssb] */
|
|
|
|
#ifndef _FILE_H
|
|
#define _FILE_H
|
|
|
|
extern PHP_MINIT_FUNCTION(file);
|
|
|
|
PHP_FUNCTION(tempnam);
|
|
PHP_FUNCTION(tmpfile);
|
|
PHP_FUNCTION(fopen);
|
|
PHP_FUNCTION(fclose);
|
|
PHP_FUNCTION(popen);
|
|
PHP_FUNCTION(pclose);
|
|
PHP_FUNCTION(feof);
|
|
PHP_FUNCTION(fread);
|
|
PHP_FUNCTION(fgetc);
|
|
PHP_FUNCTION(fgets);
|
|
PHP_FUNCTION(fgetss);
|
|
PHP_FUNCTION(fgetcsv);
|
|
PHP_FUNCTION(fwrite);
|
|
PHP_FUNCTION(rewind);
|
|
PHP_FUNCTION(ftell);
|
|
PHP_FUNCTION(fseek);
|
|
PHP_FUNCTION(mkdir);
|
|
PHP_FUNCTION(rmdir);
|
|
PHP_FUNCTION(fpassthru);
|
|
PHP_FUNCTION(readfile);
|
|
PHP_FUNCTION(umask);
|
|
PHP_FUNCTION(rename);
|
|
PHP_FUNCTION(copy);
|
|
PHP_FUNCTION(file);
|
|
PHP_FUNCTION(set_socket_blocking); /* deprecated */
|
|
PHP_FUNCTION(socket_set_blocking);
|
|
PHP_FUNCTION(socket_set_timeout);
|
|
PHP_FUNCTION(socket_get_status);
|
|
PHP_FUNCTION(set_file_buffer);
|
|
PHP_FUNCTION(get_meta_tags);
|
|
PHP_FUNCTION(flock);
|
|
PHP_FUNCTION(fd_set);
|
|
PHP_FUNCTION(fd_isset);
|
|
PHP_FUNCTION(select);
|
|
PHP_FUNCTION(realpath);
|
|
PHP_FUNCTION(ftruncate);
|
|
PHP_FUNCTION(fstat);
|
|
|
|
PHPAPI int php_set_sock_blocking(int socketd, int block);
|
|
PHPAPI int php_file_le_fopen(void);
|
|
PHPAPI int php_file_le_popen(void);
|
|
PHPAPI int php_file_le_socket(void);
|
|
PHPAPI int php_file_le_uploads(void);
|
|
|
|
#endif /* _FILE_H */
|