[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_SetUrlToFileProc

Overview

Customize relative file mapping

Syntax

    void Ns_SetUrlToFileProc(
    	char             *hserver,
    	Ns_UrlToFileProc *proc
    );

Description

By default, AOLserver calls the following routine to map a relative pathname from the URL to a file pathname:

    void Ns_DefaultUrlToFile(
    	Ns_DString			*dest,
    	char			*hServer,
    	char			*relpath
    );

You can customize AOLserver to call your own routine that matches the above prototype by calling Ns_SetUrlToFileProc.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.