]> granicus.if.org Git - php/commitdiff
Fix link functions problem.
authorAndrey Hristov <andrey@php.net>
Wed, 28 Jul 1999 13:59:35 +0000 (13:59 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 28 Jul 1999 13:59:35 +0000 (13:59 +0000)
ext/standard/basic_functions.c
ext/standard/link.c
main/php.h

index 0cef5c0eacc5aca918b33eef438a12e5ff806378..9ca142281e830b9d169f177dc3ee951574ee2f2e 100644 (file)
@@ -172,6 +172,12 @@ function_entry basic_functions[] = {
        PHP_FE(urldecode,                                                               NULL)
        PHP_FE(rawurlencode,                                                    NULL)
        PHP_FE(rawurldecode,                                                    NULL)
+
+       PHP_FE(readlink,                                                                NULL)
+       PHP_FE(linkinfo,                                                                NULL)
+       PHP_FE(symlink,                                                                 NULL)
+       PHP_FE(link,                                                                    NULL)
+       PHP_FE(unlink,                                                                  NULL)
        
        PHP_FE(exec,                                                                    second_and_third_args_force_ref)
        PHP_FE(system,                                                                  second_arg_force_ref)
index c6a2e51686b8b413d7f4bef0316f21cb2a8a2efe..a33253add986846bb70bbd7aff2a6557359eb672 100644 (file)
@@ -182,15 +182,6 @@ PHP_FUNCTION(unlink)
 }
 /* }}} */
 
-function_entry link_functions[] = {
-       PHP_FE(readlink,                                                                NULL)
-       PHP_FE(linkinfo,                                                                NULL)
-       PHP_FE(symlink,                                                                 NULL)
-       PHP_FE(link,                                                                    NULL)
-       PHP_FE(unlink,                                                                  NULL)
-       {NULL, NULL, NULL}
-};
-
 
 /*
  * Local variables:
index ae74736efaa7ff166bd8ea92346cc15fd2b80c9e..eee90b356ed6a4f2a5b276c80934c02eeac41ae3 100644 (file)
@@ -275,6 +275,7 @@ extern char **environ;
 
 extern void phperror(char *error);
 extern PHPAPI void php3_error(int type, const char *format,...);
+extern PHPAPI int php3_write(void *buf, int size);
 extern PHPAPI int php3_printf(const char *format,...);
 extern void php3_log_err(char *log_message);
 extern int Debug(char *format,...);