cvs: php-src /ext/standard exec.h
| From: | Edin Kadribasic | Date: | Sat, 24 Sep 2005 15:22:57 +0000 |
| Subject: | cvs: php-src /ext/standard exec.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-34111@lists.php.net to get a copy of this message | ||
edink Sat Sep 24 11:22:57 2005 EDT
Modified files:
/php-src/ext/standard exec.h
Log:
MFB: Allow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed for
mbstring
http://cvs.php.net/diff.php/php-src/ext/standard/exec.h?r1=1.24&r2=1.25&ty=u
Index: php-src/ext/standard/exec.h
diff -u php-src/ext/standard/exec.h:1.24 php-src/ext/standard/exec.h:1.25
--- php-src/ext/standard/exec.h:1.24 Wed Aug 3 10:07:58 2005
+++ php-src/ext/standard/exec.h Sat Sep 24 11:22:57 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exec.h,v 1.24 2005/08/03 14:07:58 sniper Exp $ */
+/* $Id: exec.h,v 1.25 2005/09/24 15:22:57 edink Exp $ */
#ifndef EXEC_H
#define EXEC_H
@@ -34,8 +34,8 @@
PHP_FUNCTION(proc_nice);
PHP_MINIT_FUNCTION(proc_open);
-char *php_escape_shell_cmd(char *);
-char *php_escape_shell_arg(char *);
+PHPAPI char *php_escape_shell_cmd(char *);
+PHPAPI char *php_escape_shell_arg(char *);
int php_exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC);
#endif /* EXEC_H */