I wonder if Ns_TclGetVersion would be less confusing and more consistent
with other Ns_Tcl... function (such as Ns_TclGetLibrary()).

Jerry

Zoran Vasiljevic wrote:

At the moment, we have Ns_InfoServerVersion(void)
which returns a char * with the version string.
I would need a better (i.e. simpler) implementation,
like Tcl_GetVersion() for example, which
returns the major/minor/patch version numbers.
This is  far more easier to handle programatically.
I need this in order to make run-time decisions
about the running server from within the C-code.

Are there any major obstacles why we would not
implement this one in standard AOLserver API?
I'm still not certain about the name but it should
look like:

void Ns_GetVersion(int *major, int *minor, int *patch)

Cheers,
Zoran



I. To remove yourself from this list:

Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/



I. To remove yourself from this list:


Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/

Reply via email to