1999-04-21 18:10:39 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-08 17:33:29 +00:00
|
|
|
| PHP Version 5 |
|
1999-04-21 18:10:39 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2007-01-01 09:36:18 +00:00
|
|
|
| Copyright (c) 1997-2007 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, |
|
2000-07-24 01:40:02 +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: |
|
2006-01-01 12:51:34 +00:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
2000-07-24 01:40:02 +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-04-21 18:10:39 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Author: Alex Plotnick <alex@wgate.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
*/
|
1999-04-21 18:10:39 +00:00
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-03 00:41:19 +00:00
|
|
|
#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
|
|
|
|
2003-09-24 02:07:04 +00:00
|
|
|
PHP_MINFO_FUNCTION(php_gettext);
|
1999-07-27 19:44:46 +00:00
|
|
|
|
2003-09-24 02:07:04 +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
|
2003-09-24 02:07:04 +00:00
|
|
|
PHP_NAMED_FUNCTION(zif_ngettext);
|
2001-08-29 13:13:24 +00:00
|
|
|
#endif
|
|
|
|
#if HAVE_DNGETTEXT
|
2003-09-24 02:07:04 +00:00
|
|
|
PHP_NAMED_FUNCTION(zif_dngettext);
|
2001-08-29 13:13:24 +00:00
|
|
|
#endif
|
|
|
|
#if HAVE_DCNGETTEXT
|
2003-09-24 02:07:04 +00:00
|
|
|
PHP_NAMED_FUNCTION(zif_dcngettext);
|
2001-08-29 13:13:24 +00:00
|
|
|
#endif
|
2001-11-09 16:27:09 +00:00
|
|
|
#if HAVE_BIND_TEXTDOMAIN_CODESET
|
2003-09-24 02:07:04 +00:00
|
|
|
PHP_NAMED_FUNCTION(zif_bind_textdomain_codeset);
|
2001-11-09 16:27:09 +00:00
|
|
|
#endif
|
1999-04-21 18:10:39 +00:00
|
|
|
|
|
|
|
#else
|
1999-05-21 08:20:13 +00:00
|
|
|
#define gettext_module_ptr NULL
|
1999-04-21 18:10:39 +00:00
|
|
|
#endif /* HAVE_LIBINTL */
|
|
|
|
|
1999-05-21 08:20:13 +00:00
|
|
|
#define phpext_gettext_ptr gettext_module_ptr
|
|
|
|
|
2000-07-03 00:41:19 +00:00
|
|
|
#endif /* PHP_GETTEXT_H */
|