Annotation of embedaddon/php/ext/ereg/php_ereg.h, revision 1.1
1.1 ! misho 1: /*
! 2: +----------------------------------------------------------------------+
! 3: | PHP Version 5 |
! 4: +----------------------------------------------------------------------+
! 5: | Copyright (c) 1997-2012 The PHP Group |
! 6: +----------------------------------------------------------------------+
! 7: | This source file is subject to version 3.01 of the PHP license, |
! 8: | that is bundled with this package in the file LICENSE, and is |
! 9: | available through the world-wide-web at the following url: |
! 10: | http://www.php.net/license/3_01.txt |
! 11: | If you did not receive a copy of the PHP license and are unable to |
! 12: | obtain it through the world-wide-web, please send a note to |
! 13: | license@php.net so we can mail you a copy immediately. |
! 14: +----------------------------------------------------------------------+
! 15: | Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
! 16: +----------------------------------------------------------------------+
! 17: */
! 18:
! 19:
! 20: /* $Id: php_ereg.h 321634 2012-01-01 13:15:04Z felipe $ */
! 21:
! 22: #ifndef EREG_H
! 23: #define EREG_H
! 24:
! 25: #include "php_regex.h"
! 26:
! 27: extern zend_module_entry ereg_module_entry;
! 28: #define phpext_ereg_ptr &ereg_module_entry
! 29:
! 30: PHPAPI char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
! 31:
! 32: PHP_FUNCTION(ereg);
! 33: PHP_FUNCTION(eregi);
! 34: PHP_FUNCTION(eregi_replace);
! 35: PHP_FUNCTION(ereg_replace);
! 36: PHP_FUNCTION(split);
! 37: PHP_FUNCTION(spliti);
! 38: PHPAPI PHP_FUNCTION(sql_regcase);
! 39:
! 40: ZEND_BEGIN_MODULE_GLOBALS(ereg)
! 41: HashTable ht_rc;
! 42: unsigned int lru_counter;
! 43: ZEND_END_MODULE_GLOBALS(ereg)
! 44:
! 45: /* Module functions */
! 46: PHP_MINIT_FUNCTION(ereg);
! 47: PHP_MSHUTDOWN_FUNCTION(ereg);
! 48: PHP_MINFO_FUNCTION(ereg);
! 49:
! 50: #ifdef ZTS
! 51: #define EREG(v) TSRMG(ereg_globals_id, zend_ereg_globals *, v)
! 52: #else
! 53: #define EREG(v) (ereg_globals.v)
! 54: #endif
! 55:
! 56: #endif /* REG_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>