mcrypt Working
mhash Working
dbase Working
+aspell Working
int argc;
aspell *sc;
int ind;
- TLS_VARS;
argc = ARG_COUNT(ht);
if (argc < 1 || argc > 2 || getParameters(ht, argc, &master,&personal) == FAILURE) {
aspellSuggestions *sug;
size_t i;
- TLS_VARS;
argc = ARG_COUNT(ht);
if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) {
int type;
pval *scin,*word;
aspell *sc;
+
int argc;
- TLS_VARS;
argc = ARG_COUNT(ht);
if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) {
WRONG_PARAM_COUNT;
int type;
int argc;
aspell *sc;
- TLS_VARS;
argc = ARG_COUNT(ht);
if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) {
}
/* }}} */
-void php3_info_aspell(void)
+void php3_info_aspell(ZEND_MODULE_INFO_FUNC_ARGS)
{
- TLS_VARS;
php3_printf("ASpell support enabled");
}
/* Define if you want the ASPELL interface */
+#ifndef HAVE_ASPELL
#define HAVE_ASPELL 0
-
+#endif
fi
AC_DEFINE(HAVE_ASPELL)
AC_MSG_RESULT(yes)
+ PHP_EXTENSION(aspell)
else
AC_MSG_ERROR(no)
fi
#define _ASPELL_H
#if HAVE_ASPELL
extern php3_module_entry aspell_module_entry;
-#define php3_aspell_module_ptr &aspell_module_entry
+#define aspell_module_ptr &aspell_module_entry
extern int php3_minit_aspell(INIT_FUNC_ARGS);
-extern void php3_info_aspell(void);
+extern void php3_info_aspell(ZEND_MODULE_INFO_FUNC_ARGS);
extern void php3_aspell_close();
void php3_aspell_new(INTERNAL_FUNCTION_PARAMETERS);
void php3_aspell_check(INTERNAL_FUNCTION_PARAMETERS);
void php3_aspell_suggest(INTERNAL_FUNCTION_PARAMETERS);
#else
-#define php3_aspell_module_ptr NULL
+#define aspell_module_ptr NULL
#endif
+
+#define phpext_aspell_ptr aspell_module_ptr
+
#endif /* _ASPELL_H */
#ifndef _REGEX_H_
#define _REGEX_H_ /* never again */
-/* ========= begin header generated by ./mkh ========= */
+/* ========= begin header generated by ././mkh ========= */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
-/* ========= end header generated by ./mkh ========= */
+/* ========= end header generated by ././mkh ========= */
#endif
#ifndef _REGEX_H_
#define _REGEX_H_ /* never again */
-/* ========= begin header generated by ./mkh ========= */
+/* ========= begin header generated by ././mkh ========= */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
-/* ========= end header generated by ./mkh ========= */
+/* ========= end header generated by ././mkh ========= */
#endif