1999-05-16 20:01:25 +08:00
|
|
|
#ifndef PHP_MHASH_H
|
|
|
|
#define PHP_MHASH_H
|
|
|
|
|
|
|
|
#if HAVE_LIBMHASH
|
|
|
|
|
|
|
|
#if PHP_API_VERSION < 19990421
|
1999-12-18 04:55:31 +08:00
|
|
|
#define zend_module_entry zend_module_entry
|
2000-03-12 04:57:35 +08:00
|
|
|
#include "modules.h"
|
1999-05-16 20:01:25 +08:00
|
|
|
#include "internal_functions.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern zend_module_entry mhash_module_entry;
|
|
|
|
#define mhash_module_ptr &mhash_module_entry
|
|
|
|
|
|
|
|
PHP_FUNCTION(mhash_get_block_size);
|
1999-05-22 04:09:23 +08:00
|
|
|
PHP_FUNCTION(mhash_get_hash_name);
|
|
|
|
PHP_FUNCTION(mhash_count);
|
1999-05-16 20:01:25 +08:00
|
|
|
PHP_FUNCTION(mhash);
|
|
|
|
|
|
|
|
#else
|
|
|
|
#define mhash_module_ptr NULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define phpext_mhash_ptr mhash_module_ptr
|
|
|
|
|
|
|
|
#endif
|