Table of Contents | Previous | Next | Index | Bookshelf

Programmer's Guide


Chapter 4. NSAPI Changes

This chapter lists the changes to NSAPI in iPlanet Web Server versions 4.0 and 4.1. The sections are as follows:

Version 4.0 Changes

This section lists the changes to NSAPI in iPlanet Web Server version 4.0. These changes are:

Privatization of Some Data Structures

In iPlanet Web Server 4.1, some data structures have been moved from nsapi.h to nsapi_pvt.h. The data structures in nsapi_pvt.h are now considered to be private data structures, and you should not write code that accesses them directly. Instead, use accessor functions. We expect that very few people have written plugins that access these data structures directly, so this change should have very little impact on existing customer-defined plugins. Look in nsapi_pvt.h to see which data structures have been removed from the public domain and to see the accessor functions you can use to access them from now on.

Plugins written for server version 3.x that access contents of data structures defined in nsapi_pvt.h will not be source compatible with iPlanet Web Server 4.1, that is, it will be necessary to #include "nsapi_pvt.h" in order to build such plugins from source. There is also a small chance that these programs will not be binary compatible with iPlanet Web Server 4.1, because some of the data structures in nsapi_pvt.h have changed size. In particular, the directive structure is larger, which means that a plugin that indexes through the directives in a dtable will not work without being rebuilt (with nsapi_pvt.h included).

We hope that the majority of plugins do not reference the internals of data structures in nsapi_pvt.h, and therefore that most plugins will be both binary and source compatible with iPlanet Web Server 4.1.

Logging Changes

The following API changes support the logging modifications in iPlanet Web Server 4.0:

Cookie Support

New SAF for Security

New SAFs for Adding Headers and Footers

Minor Changes to Init-class SAFs

Relinking 3.x Plugins on the AIX Platform

Version 4.1 Changes

This section lists the changes to NSAPI in iPlanet Web Server version 4.1. These changes are:

StrictHttpHeaders magnus.conf Variable

Chunked Encoding magnus.conf Variables

find-pathinfo-forward Parameter

nostat Parameter

nocache Parameter

register-http-method SAF

set-default-type SAF

Buffered Streams


Table of Contents | Previous | Next | Index | Bookshelf

Last Updated: 03/01/00 09:14:05

© Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.