php-src/ext/standard/file.h

75 lines
2.9 KiB
C
Raw Normal View History

/*
+----------------------------------------------------------------------+
| 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 php3 revision 1.30 1999-06-16 [ssb] */
#ifndef _FILE_H
#define _FILE_H
1999-06-15 21:51:00 +00:00
extern php3_module_entry php3_file_module_entry;
#define php3_file_module_ptr &php3_file_module_entry
extern PHP_MINIT_FUNCTION(file);
1999-06-15 21:51:00 +00:00
PHP_FUNCTION(tempnam);
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);
1999-06-15 21:51:00 +00:00
PHP_FUNCTION(rename);
PHP_FUNCTION(copy);
1999-06-15 21:51:00 +00:00
PHP_FUNCTION(file);
PHP_FUNCTION(set_socket_blocking);
PHP_FUNCTION(set_socket_timeout);
PHP_FUNCTION(set_file_buffer);
1999-06-15 21:51:00 +00:00
PHP_FUNCTION(get_meta_tags);
PHP_FUNCTION(flock);
PHPAPI int _php3_set_sock_blocking(int socketd, int block);
1999-06-15 21:51:00 +00:00
#define phpext_file_ptr php3_file_module_ptr
#endif /* _FILE_H */