diff options
| author | Vlad Krupin <vlad@php.net> | 2000-07-10 21:29:19 +0000 |
|---|---|---|
| committer | Vlad Krupin <vlad@php.net> | 2000-07-10 21:29:19 +0000 |
| commit | a58ca45b2e8ef555d6028481bf2b188164a641f9 (patch) | |
| tree | e4c4e23645b196423d3f1ccfdc10f526f6bcc0e0 /ext/pspell/php_pspell.h | |
| parent | 96675e9d5839398e94e7bfd0ea461f17f2841e91 (diff) | |
| download | php-git-a58ca45b2e8ef555d6028481bf2b188164a641f9.tar.gz | |
Initial release. Includes:
- Functionality of aspell
- 3 modes of spellchecking (fast, normal, bad_spellers)
- support for run-together words
Diffstat (limited to 'ext/pspell/php_pspell.h')
| -rw-r--r-- | ext/pspell/php_pspell.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ext/pspell/php_pspell.h b/ext/pspell/php_pspell.h new file mode 100644 index 0000000000..272272da69 --- /dev/null +++ b/ext/pspell/php_pspell.h @@ -0,0 +1,53 @@ +/* + +----------------------------------------------------------------------+ + | 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$ */ + + +#ifndef _PSPELL_H +#define _PSPELL_H +#if HAVE_PSPELL +extern zend_module_entry pspell_module_entry; +#define pspell_module_ptr &pspell_module_entry + +extern PHP_MINIT_FUNCTION(pspell); +extern PHP_MINFO_FUNCTION(pspell); + +PHP_FUNCTION(pspell_new); +PHP_FUNCTION(pspell_mode); +PHP_FUNCTION(pspell_runtogether); +PHP_FUNCTION(pspell_check); +PHP_FUNCTION(pspell_suggest); +#else +#define pspell_module_ptr NULL +#endif + +#define phpext_pspell_ptr pspell_module_ptr + +#endif /* _PSPELL_H */ |
