gluke Mon Nov 15 14:07:35 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/mnogosearch php_mnogo.h Log: # Unix EOLs fixed
http://cvs.php.net/diff.php/php-src/ext/mnogosearch/php_mnogo.h?r1=1.25.2.1&r2=1.25.2.2&ty=u Index: php-src/ext/mnogosearch/php_mnogo.h diff -u php-src/ext/mnogosearch/php_mnogo.h:1.25.2.1 php-src/ext/mnogosearch/php_mnogo.h:1.25.2.2 --- php-src/ext/mnogosearch/php_mnogo.h:1.25.2.1 Mon Nov 15 14:02:38 2004 +++ php-src/ext/mnogosearch/php_mnogo.h Mon Nov 15 14:07:34 2004 @@ -1,113 +1,113 @@ -/* $Source: /repository/php-src/ext/mnogosearch/php_mnogo.h,v $ */ -/* $Id: php_mnogo.h,v 1.25.2.1 2004/11/15 19:02:38 gluke Exp $ */ - -/* - +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2004 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.php.net/license/3_0.txt. | - | 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 | - | [EMAIL PROTECTED] so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Authors: | - | Initial version by Alex Barkov <[EMAIL PROTECTED]> | - | and Ramil Kalimullin <[EMAIL PROTECTED]> | - | Further development by Sergey Kartashoff <[EMAIL PROTECTED]> | - +----------------------------------------------------------------------+ -*/ - -#ifndef _PHP_MNOGO_H -#define _PHP_MNOGO_H - -#if HAVE_MNOGOSEARCH - -#include <udm_config.h> -#include <udmsearch.h> - -#if UDM_VERSION_ID >= 30203 -#include <udm_crc32.h> -#include <udm_store.h> -#endif - -extern zend_module_entry mnogosearch_module_entry; -#define mnogosearch_module_ptr &mnogosearch_module_entry - -#ifdef PHP_WIN32 -#define PHP_MNOGO_API __declspec(dllexport) -#else -#define PHP_MNOGO_API -#endif - -#ifdef ZTS -#include "TSRM.h" -#endif - -/* mnoGoSearch functions */ -DLEXPORT PHP_MINIT_FUNCTION(mnogosearch); -DLEXPORT PHP_RINIT_FUNCTION(mnogosearch); -DLEXPORT PHP_MSHUTDOWN_FUNCTION(mnogosearch); -DLEXPORT PHP_MINFO_FUNCTION(mnogosearch); - -DLEXPORT PHP_FUNCTION(udm_api_version); -#if UDM_VERSION_ID >= 30200 -DLEXPORT PHP_FUNCTION(udm_check_charset); -#if UDM_VERSION_ID >= 30203 -DLEXPORT PHP_FUNCTION(udm_crc32); -#endif -#if UDM_VERSION_ID >= 30204 -DLEXPORT PHP_FUNCTION(udm_parse_query_string); -DLEXPORT PHP_FUNCTION(udm_make_excerpt); -DLEXPORT PHP_FUNCTION(udm_set_agent_param_ex); -DLEXPORT PHP_FUNCTION(udm_get_agent_param_ex); -DLEXPORT PHP_FUNCTION(udm_get_res_field_ex); -#endif -#if UDM_VERSION_ID >= 30211 -DLEXPORT PHP_FUNCTION(udm_hash32); -DLEXPORT PHP_FUNCTION(udm_alloc_agent_array); -#endif -#if UDM_VERSION_ID >= 30216 -DLEXPORT PHP_FUNCTION(udm_store_doc_cgi); -#endif -#endif - -DLEXPORT PHP_FUNCTION(udm_alloc_agent); -DLEXPORT PHP_FUNCTION(udm_set_agent_param); - -DLEXPORT PHP_FUNCTION(udm_load_ispell_data); -DLEXPORT PHP_FUNCTION(udm_free_ispell_data); - -DLEXPORT PHP_FUNCTION(udm_add_search_limit); -DLEXPORT PHP_FUNCTION(udm_clear_search_limits); - -DLEXPORT PHP_FUNCTION(udm_error); -DLEXPORT PHP_FUNCTION(udm_errno); - -DLEXPORT PHP_FUNCTION(udm_find); -DLEXPORT PHP_FUNCTION(udm_get_res_field); -DLEXPORT PHP_FUNCTION(udm_get_res_param); - -DLEXPORT PHP_FUNCTION(udm_cat_list); -DLEXPORT PHP_FUNCTION(udm_cat_path); - -DLEXPORT PHP_FUNCTION(udm_free_res); -DLEXPORT PHP_FUNCTION(udm_free_agent); - -#if UDM_VERSION_ID > 30110 -DLEXPORT PHP_FUNCTION(udm_get_doc_count); -#endif - -#else - -#define mnogosearch_module_ptr NULL - -#endif - -#define phpext_mnogosearch_ptr mnogosearch_module_ptr - -#endif /* _PHP_MNOGO_H */ +/* $Source: /repository/php-src/ext/mnogosearch/php_mnogo.h,v $ */ +/* $Id: php_mnogo.h,v 1.25.2.2 2004/11/15 19:07:34 gluke Exp $ */ + +/* + +----------------------------------------------------------------------+ + | PHP Version 5 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-2004 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.0 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.php.net/license/3_0.txt. | + | 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 | + | [EMAIL PROTECTED] so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: | + | Initial version by Alex Barkov <[EMAIL PROTECTED]> | + | and Ramil Kalimullin <[EMAIL PROTECTED]> | + | Further development by Sergey Kartashoff <[EMAIL PROTECTED]> | + +----------------------------------------------------------------------+ +*/ + +#ifndef _PHP_MNOGO_H +#define _PHP_MNOGO_H + +#if HAVE_MNOGOSEARCH + +#include <udm_config.h> +#include <udmsearch.h> + +#if UDM_VERSION_ID >= 30203 +#include <udm_crc32.h> +#include <udm_store.h> +#endif + +extern zend_module_entry mnogosearch_module_entry; +#define mnogosearch_module_ptr &mnogosearch_module_entry + +#ifdef PHP_WIN32 +#define PHP_MNOGO_API __declspec(dllexport) +#else +#define PHP_MNOGO_API +#endif + +#ifdef ZTS +#include "TSRM.h" +#endif + +/* mnoGoSearch functions */ +DLEXPORT PHP_MINIT_FUNCTION(mnogosearch); +DLEXPORT PHP_RINIT_FUNCTION(mnogosearch); +DLEXPORT PHP_MSHUTDOWN_FUNCTION(mnogosearch); +DLEXPORT PHP_MINFO_FUNCTION(mnogosearch); + +DLEXPORT PHP_FUNCTION(udm_api_version); +#if UDM_VERSION_ID >= 30200 +DLEXPORT PHP_FUNCTION(udm_check_charset); +#if UDM_VERSION_ID >= 30203 +DLEXPORT PHP_FUNCTION(udm_crc32); +#endif +#if UDM_VERSION_ID >= 30204 +DLEXPORT PHP_FUNCTION(udm_parse_query_string); +DLEXPORT PHP_FUNCTION(udm_make_excerpt); +DLEXPORT PHP_FUNCTION(udm_set_agent_param_ex); +DLEXPORT PHP_FUNCTION(udm_get_agent_param_ex); +DLEXPORT PHP_FUNCTION(udm_get_res_field_ex); +#endif +#if UDM_VERSION_ID >= 30211 +DLEXPORT PHP_FUNCTION(udm_hash32); +DLEXPORT PHP_FUNCTION(udm_alloc_agent_array); +#endif +#if UDM_VERSION_ID >= 30216 +DLEXPORT PHP_FUNCTION(udm_store_doc_cgi); +#endif +#endif + +DLEXPORT PHP_FUNCTION(udm_alloc_agent); +DLEXPORT PHP_FUNCTION(udm_set_agent_param); + +DLEXPORT PHP_FUNCTION(udm_load_ispell_data); +DLEXPORT PHP_FUNCTION(udm_free_ispell_data); + +DLEXPORT PHP_FUNCTION(udm_add_search_limit); +DLEXPORT PHP_FUNCTION(udm_clear_search_limits); + +DLEXPORT PHP_FUNCTION(udm_error); +DLEXPORT PHP_FUNCTION(udm_errno); + +DLEXPORT PHP_FUNCTION(udm_find); +DLEXPORT PHP_FUNCTION(udm_get_res_field); +DLEXPORT PHP_FUNCTION(udm_get_res_param); + +DLEXPORT PHP_FUNCTION(udm_cat_list); +DLEXPORT PHP_FUNCTION(udm_cat_path); + +DLEXPORT PHP_FUNCTION(udm_free_res); +DLEXPORT PHP_FUNCTION(udm_free_agent); + +#if UDM_VERSION_ID > 30110 +DLEXPORT PHP_FUNCTION(udm_get_doc_count); +#endif + +#else + +#define mnogosearch_module_ptr NULL + +#endif + +#define phpext_mnogosearch_ptr mnogosearch_module_ptr + +#endif /* _PHP_MNOGO_H */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php