2002-03-24 23:00:47 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-08 17:33:29 +00:00
|
|
|
| PHP Version 5 |
|
2002-03-24 23:00:47 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2004-01-08 17:33:29 +00:00
|
|
|
| Copyright (c) 1997-2004 The PHP Group |
|
2002-03-24 23:00:47 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2003-06-10 20:04:29 +00:00
|
|
|
| This source file is subject to version 3.0 of the PHP license, |
|
2002-03-24 23:00:47 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-10 20:04:29 +00:00
|
|
|
| available through the world-wide-web at the following url: |
|
|
|
|
| http://www.php.net/license/3_0.txt. |
|
2002-03-24 23:00:47 +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. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Author: |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PHP_MIME_MAGIC_H
|
|
|
|
#define PHP_MIME_MAGIC_H
|
|
|
|
|
|
|
|
extern zend_module_entry mime_magic_module_entry;
|
|
|
|
#define phpext_mime_magic_ptr &mime_magic_module_entry
|
|
|
|
|
|
|
|
#ifdef PHP_WIN32
|
|
|
|
#define PHP_MIME_MAGIC_API __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define PHP_MIME_MAGIC_API
|
|
|
|
#endif
|
|
|
|
|
|
|
|
PHP_MINIT_FUNCTION(mime_magic);
|
|
|
|
PHP_MSHUTDOWN_FUNCTION(mime_magic);
|
|
|
|
PHP_RINIT_FUNCTION(mime_magic);
|
|
|
|
PHP_RSHUTDOWN_FUNCTION(mime_magic);
|
|
|
|
PHP_MINFO_FUNCTION(mime_magic);
|
|
|
|
|
|
|
|
PHP_FUNCTION(mime_content_type);
|
|
|
|
|
|
|
|
#endif /* PHP_MIME_MAGIC_H */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* indent-tabs-mode: t
|
|
|
|
* End:
|
|
|
|
*/
|