diff options
author | Anthony Whitehead <antw@php.net> | 2000-05-31 14:20:57 +0000 |
---|---|---|
committer | Anthony Whitehead <antw@php.net> | 2000-05-31 14:20:57 +0000 |
commit | 678508b426dbc69c71771e1d1593cc8e057f8364 (patch) | |
tree | da515ad9fb100ea8202b62b1115d731e650ca89b /sapi/nsapi/nsapi.c | |
parent | ccacfd880bd56ce04bb9796f1efee7db3eb152a2 (diff) | |
download | php-git-678508b426dbc69c71771e1d1593cc8e057f8364.tar.gz |
Added changes suggested by Stanislav Borutsky with respect to NSAPI_PUBLIC.
Diffstat (limited to 'sapi/nsapi/nsapi.c')
-rw-r--r-- | sapi/nsapi/nsapi.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index e413c6ed25..80e6367e73 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -20,7 +20,6 @@ * PHP includes */ #define NSAPI 1 -#define XP_UNIX #include "php.h" #include "php_variables.h" @@ -56,11 +55,6 @@ #include "base/util.h" /* is_mozilla, getline */ #include "frame/log.h" /* log_error */ -/* for unix */ -#ifndef WINAPI - #define WINAPI -#endif - /* * Timeout for net_read(). This should probably go into php.ini */ @@ -496,7 +490,7 @@ nsapi_module_main(NSLS_D SLS_DC) return SUCCESS; } -void WINAPI +void NSAPI_PUBLIC php4_close(void *vparam) { if (sapi_module.shutdown) { @@ -505,7 +499,7 @@ php4_close(void *vparam) tsrm_shutdown(); } -int WINAPI +int NSAPI_PUBLIC php4_init(pblock *pb, Session *sn, Request *rq) { php_core_globals *core_globals; @@ -520,7 +514,7 @@ php4_init(pblock *pb, Session *sn, Request *rq) return REQ_PROCEED; } -int WINAPI +int NSAPI_PUBLIC php4_execute(pblock *pb, Session *sn, Request *rq) { int retval; @@ -559,7 +553,7 @@ php4_execute(pblock *pb, Session *sn, Request *rq) / <Object ppath="path/to/be/authenticated/by/php/*"> / AuthTrans fn="php4_auth_trans" /*********************************************************/ -int WINAPI +int NSAPI_PUBLIC php4_auth_trans(pblock * pb, Session * sn, Request * rq) { /*This is a DO NOTHING function that allows authentication information |