1999-10-14 15:20:40 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| PHP version 4.0 |
|
|
|
|
+----------------------------------------------------------------------+
|
2000-01-01 01:32:05 +00:00
|
|
|
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
|
1999-10-14 15:20:40 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-02-19 23:41:32 +00:00
|
|
|
| This source file is subject to version 2.01 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-02-19 23:41:32 +00:00
|
|
|
| http://www.php.net/license/2_01.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. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Thies C. Arntzen (thies@digicol.de) |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
#ifndef _PHP_READLINE_H
|
|
|
|
#define _PHP_READLINE_H
|
|
|
|
|
|
|
|
#if HAVE_LIBREADLINE
|
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
|
|
|
|
|
|
|
|
#ifndef CGI_BINARY
|
|
|
|
#error Readline module only useable in standalone-binary
|
|
|
|
#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 */
|
|
|
|
|
|
|
|
#endif /* _PHP_READLINE_H */
|
|
|
|
|