wez Tue Dec 2 18:14:31 2003 EDT
Modified files:
/php-src/ext/session php_session.h session.c
Log:
Export this so that shared session modules can use it under win32.
Index: php-src/ext/session/php_session.h
diff -u php-src/ext/session/php_session.h:1.94 php-src/ext/session/php_session.h:1.95
--- php-src/ext/session/php_session.h:1.94 Tue Jun 10 16:03:36 2003
+++ php-src/ext/session/php_session.h Tue Dec 2 18:14:31 2003
@@ -32,7 +32,7 @@
#define PS_CREATE_SID_ARGS void **mod_data, int *newlen TSRMLS_DC
/* default create id function */
-char *php_session_create_id(PS_CREATE_SID_ARGS);
+PHPAPI char *php_session_create_id(PS_CREATE_SID_ARGS);
typedef struct ps_module_struct {
const char *s_name;
Index: php-src/ext/session/session.c
diff -u php-src/ext/session/session.c:1.377 php-src/ext/session/session.c:1.378
--- php-src/ext/session/session.c:1.377 Wed Oct 8 06:22:51 2003
+++ php-src/ext/session/session.c Tue Dec 2 18:14:31 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: session.c,v 1.377 2003/10/08 10:22:51 sniper Exp $ */
+/* $Id: session.c,v 1.378 2003/12/02 23:14:31 wez Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -589,7 +589,7 @@
return out;
}
-char *php_session_create_id(PS_CREATE_SID_ARGS)
+PHPAPI char *php_session_create_id(PS_CREATE_SID_ARGS)
{
PHP_MD5_CTX md5_context;
PHP_SHA1_CTX sha1_context;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php