php-src/ext/mhash/mhash.c

76 lines
2.1 KiB
C
Raw Normal View History

1999-05-16 12:01:25 +00:00
/*
+----------------------------------------------------------------------+
2004-01-08 08:18:22 +00:00
| PHP Version 5 |
1999-05-16 12:01:25 +00:00
+----------------------------------------------------------------------+
2007-12-31 07:12:20 +00:00
| Copyright (c) 1997-2008 The PHP Group |
1999-05-16 12:01:25 +00:00
+----------------------------------------------------------------------+
2006-01-01 13:10:10 +00:00
| This source file is subject to version 3.01 of the PHP license, |
1999-07-16 13:13:16 +00:00
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
2006-01-01 13:10:10 +00:00
| http://www.php.net/license/3_01.txt |
1999-07-16 13:13:16 +00:00
| 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 |
| license@php.net so we can mail you a copy immediately. |
1999-05-16 12:01:25 +00:00
+----------------------------------------------------------------------+
1999-11-26 17:12:01 +00:00
| Authors: Sascha Schumann <sascha@schumann.cx> |
2002-02-28 08:29:35 +00:00
| Nikos Mavroyanopoulos <nmav@hellug.gr> (HMAC, KEYGEN) |
1999-05-16 12:01:25 +00:00
+----------------------------------------------------------------------+
*/
/* $Id$ */
1999-05-16 12:01:25 +00:00
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
1999-05-16 12:01:25 +00:00
#include "php.h"
#include "php_mhash.h"
#include "php_ini.h"
#include "php_globals.h"
#include "ext/standard/info.h"
1999-05-16 12:01:25 +00:00
const zend_function_entry mhash_functions[] = {
{NULL, NULL, NULL}
1999-05-16 12:01:25 +00:00
};
zend_module_entry mhash_module_entry = {
STANDARD_MODULE_HEADER,
"mhash",
1999-05-16 12:01:25 +00:00
mhash_functions,
1999-08-02 16:06:13 +00:00
PHP_MINIT(mhash), NULL,
1999-05-16 12:01:25 +00:00
NULL, NULL,
2002-08-04 21:37:44 +00:00
PHP_MINFO(mhash),
NO_VERSION_YET,
1999-05-16 12:01:25 +00:00
STANDARD_MODULE_PROPERTIES,
};
2000-05-02 03:29:45 +00:00
#ifdef COMPILE_DL_MHASH
ZEND_GET_MODULE(mhash)
#endif
2002-08-04 21:37:44 +00:00
/* {{{ PHP_MINIT */
2003-02-24 03:27:00 +00:00
PHP_MINIT_FUNCTION(mhash)
1999-05-16 12:01:25 +00:00
{
return SUCCESS;
}
/* }}} */
1999-05-16 12:01:25 +00:00
/* {{{ PHP_MINFO */
2002-08-04 21:37:44 +00:00
PHP_MINFO_FUNCTION(mhash)
{
php_info_print_table_start();
php_info_print_table_row(2, "MHASH support", "Enabled");
php_info_print_table_row(2, "MHASH API Version", "Emulated");
2002-08-04 21:37:44 +00:00
php_info_print_table_end();
}
/* }}} */
2002-08-04 21:37:44 +00:00
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/