nsapi

Suggestions for writing an nsapi plugin that calls sybase, that has to be threadsafe

I'm having a hell of a time trying to find sybase documentation that says if the 12.5 client is thread safe. I need to make sybase threadsafe calls because I'm writing an nsapi plugin which lives in a threaded environment. So either I need to make sure the sybase client can run in a threaded environment or I'd need to serialize calls to ...

Is memory allocated in nsapi initalization function permanent?

nsapi supplies a MALLOC macro that gets memory from a pool that will be freed for you when the request ends, but it doesn't say what happens if you call this malloc function in an initialization function, when there is no request. Can this malloc (or pblock_created) memory be presumed to be persistent? It doesn't say anything about it in...

Can an NSAPI plugin be used in an apache web server?

Can an NSAPI plugin be used in an apache web server? I suspect the answer is no, but I would like it confirmed. I wrote the plugin for SunOne (formerly iPlanet) and now the company approved webserver is apache. Is it a trivial move? A tedious port? Or maybe I "just" get a variance. Aaron -I don't read Dilbert, because it doesn't se...

Npapi set timer function

I'm still running Firefox 2.0.0. For backward compatibility reasons I'd like to know weather there is a easy way to replace the NPN_PluginThreadAsyncCall, NPN_ScheduleTimer mechanism that the newer npapi supplies. The only solution that I would come up with is to evaluate a javascript "setTimeout" that would call the plugin then ......