From 5b983c944f66b55192c901ce3fa38fcce6ca21e3 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 4 Dec 1999 19:19:57 +0000 Subject: Clean up php3.*\.h files. The files itself are renamed, and references in all .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually. --- ext/dav/dav.c | 2 +- ext/dav/php3_dav.h | 66 ------------------------------------------------------ ext/dav/php_dav.h | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 ext/dav/php3_dav.h create mode 100644 ext/dav/php_dav.h (limited to 'ext/dav') diff --git a/ext/dav/dav.c b/ext/dav/dav.c index 5ca8a39012..0f8cd56a7a 100644 --- a/ext/dav/dav.c +++ b/ext/dav/dav.c @@ -27,7 +27,7 @@ # endif #endif #include "php.h" -#include "php3_dav.h" +#include "php_dav.h" #if defined(THREAD_SAFE) && !PHP_31 # undef THREAD_SAFE diff --git a/ext/dav/php3_dav.h b/ext/dav/php3_dav.h deleted file mode 100644 index b1ab062de1..0000000000 --- a/ext/dav/php3_dav.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | PHP HTML Embedded Scripting Language Version 3.0 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997,1998 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: Stig Sæther Bakken | - +----------------------------------------------------------------------+ - */ - -/* $Id */ - -#ifndef _PHP_DAV_H -# define _PHP_DAV_H - -# if HAVE_MOD_DAV - -typedef struct { - int foo; - char *mkcol_test_handler; - char *mkcol_create_handler; -} phpdav_module; - -extern php3_module_entry phpdav_module_entry; -# define phpdav_module_ptr &phpdav_module_entry - -int phpdav_mkcol_test_handler(request_rec *); - -PHP_FUNCTION(dav_set_mkcol_handlers); - -# else /* !HAVE_MOD_DAV */ - -# define phpdav_module_ptr NULL - -# endif /* HAVE_MOD_DAV */ - -#define phpext_dav_ptr phpdav_module_ptr - -#endif /* _PHP_DAV_H */ - - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - */ diff --git a/ext/dav/php_dav.h b/ext/dav/php_dav.h new file mode 100644 index 0000000000..b1ab062de1 --- /dev/null +++ b/ext/dav/php_dav.h @@ -0,0 +1,66 @@ +/* + +----------------------------------------------------------------------+ + | PHP HTML Embedded Scripting Language Version 3.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997,1998 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: Stig Sæther Bakken | + +----------------------------------------------------------------------+ + */ + +/* $Id */ + +#ifndef _PHP_DAV_H +# define _PHP_DAV_H + +# if HAVE_MOD_DAV + +typedef struct { + int foo; + char *mkcol_test_handler; + char *mkcol_create_handler; +} phpdav_module; + +extern php3_module_entry phpdav_module_entry; +# define phpdav_module_ptr &phpdav_module_entry + +int phpdav_mkcol_test_handler(request_rec *); + +PHP_FUNCTION(dav_set_mkcol_handlers); + +# else /* !HAVE_MOD_DAV */ + +# define phpdav_module_ptr NULL + +# endif /* HAVE_MOD_DAV */ + +#define phpext_dav_ptr phpdav_module_ptr + +#endif /* _PHP_DAV_H */ + + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + */ -- cgit v1.2.1