Enterprise Serverutilities; Virtual Server - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Enterprise ServerUtilities

Utility functions include platform-independent, thread-safe versions of many
standard library functions (such as string manipulation) as well as new utilities
useful for NSAPI.
daemon_atrestart
server is sent a restart signal (HUP) or at shutdown.
gets the next line (up to a LF or CRLF) from a buffer.
util_getline
gets the local hostname as a fully qualified domain name.
util_hostname
util_later_than
same as standard library routine
util_sprintf
same as standard library routine
util_strftime
util_uri_escape
format.
util_uri_unescape
special characters.
NOTE
You cannot use an embedded null in a string, because NSAPI
functions assume that a null is the end of the string. Therefore,
passing unicode-encoded content through an NSAPI plug-in
doesn't work.

Virtual Server

The virtual server functions provide routines for retrieving information about
virtual servers.
request_get_vs
allocates a new slot for storing a pointer to data specific to a
vs_alloc_slot
certain virtual server.
finds the value of a pointer to data for a given virtual server and
vs_get_data
slot.
vs_get_default_httpd_object
object from the virtual server's virtual server class configuration.
(UNIX only) registers a user function to be called when the
compares two dates.
converts the special characters in a string into URI escaped
converts the URI escaped characters in a string back into
finds the virtual server to which a request is directed.
obtains a pointer to the default (or root)
Overview of NSAPI C Functions
.
sprintf()
.
strftime()
Chapter 4
Creating Custom SAFs
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents