php-src/ext/gettext/php_gettext.h

59 lines
2.0 KiB
C
Raw Normal View History

1999-04-21 18:10:39 +00:00
/*
+----------------------------------------------------------------------+
2014-09-19 16:33:14 +00:00
| PHP Version 7 |
1999-04-21 18:10:39 +00:00
+----------------------------------------------------------------------+
2017-01-04 17:23:42 +00:00
| Copyright (c) 1997-2017 The PHP Group |
1999-04-21 18:10:39 +00:00
+----------------------------------------------------------------------+
2006-01-01 12:51:34 +00:00
| This source file is subject to version 3.01 of the PHP license, |
| 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 12:51:34 +00:00
| http://www.php.net/license/3_01.txt |
| 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-04-21 18:10:39 +00:00
+----------------------------------------------------------------------+
| Author: Alex Plotnick <alex@wgate.com> |
+----------------------------------------------------------------------+
*/
1999-04-21 18:10:39 +00:00
/* $Id$ */
#ifndef PHP_GETTEXT_H
#define PHP_GETTEXT_H
1999-04-21 18:10:39 +00:00
#if HAVE_LIBINTL
1999-12-17 21:50:07 +00:00
extern zend_module_entry php_gettext_module_entry;
#define gettext_module_ptr &php_gettext_module_entry
1999-04-21 18:10:39 +00:00
#include "php_version.h"
#define PHP_GETTEXT_VERSION PHP_VERSION
PHP_MINFO_FUNCTION(php_gettext);
1999-07-27 19:44:46 +00:00
PHP_NAMED_FUNCTION(zif_textdomain);
PHP_NAMED_FUNCTION(zif_gettext);
PHP_NAMED_FUNCTION(zif_dgettext);
PHP_NAMED_FUNCTION(zif_dcgettext);
PHP_NAMED_FUNCTION(zif_bindtextdomain);
2001-08-29 13:13:24 +00:00
#if HAVE_NGETTEXT
PHP_NAMED_FUNCTION(zif_ngettext);
2001-08-29 13:13:24 +00:00
#endif
#if HAVE_DNGETTEXT
PHP_NAMED_FUNCTION(zif_dngettext);
2001-08-29 13:13:24 +00:00
#endif
#if HAVE_DCNGETTEXT
PHP_NAMED_FUNCTION(zif_dcngettext);
2001-08-29 13:13:24 +00:00
#endif
#if HAVE_BIND_TEXTDOMAIN_CODESET
PHP_NAMED_FUNCTION(zif_bind_textdomain_codeset);
#endif
1999-04-21 18:10:39 +00:00
#else
#define gettext_module_ptr NULL
1999-04-21 18:10:39 +00:00
#endif /* HAVE_LIBINTL */
#define phpext_gettext_ptr gettext_module_ptr
#endif /* PHP_GETTEXT_H */