1999-10-14 15:20:40 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 15:32:16 +00:00
|
|
|
| PHP Version 4 |
|
1999-10-14 15:20:40 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2002-12-31 16:08:15 +00:00
|
|
|
| Copyright (c) 1997-2003 The PHP Group |
|
1999-10-14 15:20:40 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-05-18 15:34:45 +00:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
1999-10-14 15:20:40 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
2000-05-18 15:34:45 +00:00
|
|
|
| http://www.php.net/license/2_02.txt. |
|
1999-10-14 15:20:40 +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. |
|
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 08:29:35 +00:00
|
|
|
| Author: Thies C. Arntzen <thies@thieso.net> |
|
1999-10-14 15:20:40 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#ifndef PHP_READLINE_H
|
|
|
|
#define PHP_READLINE_H
|
1999-10-14 15:20:40 +00:00
|
|
|
|
2001-01-18 11:42:09 +00:00
|
|
|
#if HAVE_LIBREADLINE || HAVE_LIBEDIT
|
1999-10-14 16:53:51 +00:00
|
|
|
#ifdef ZTS
|
1999-12-08 11:48:10 +00:00
|
|
|
#warning Readline module will *NEVER* be thread-safe
|
1999-10-14 16:53:51 +00:00
|
|
|
#endif
|
|
|
|
|
1999-10-14 15:20:40 +00:00
|
|
|
extern zend_module_entry readline_module_entry;
|
|
|
|
#define phpext_readline_ptr &readline_module_entry
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define phpext_readline_ptr NULL
|
|
|
|
|
|
|
|
#endif /* HAVE_LIBREADLINE */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#endif /* PHP_READLINE_H */
|
1999-10-14 15:20:40 +00:00
|
|
|
|