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

Ns_UrlSpecificDestroy

Overview

Delete URL-specific data

Syntax

    void *Ns_UrlSpecificDestroy(
    	char *handle,
    	char *method,
    	char *url,
    	int   id,
    	int   flags
    );

Description

The Ns_UrlSpecificDelete function deletes URL-specific data previously stored with Ns_UrlSpecificSet. The flags argument can be NS_OP_NODELETE or NS_OP_RECURSE. NS_OP_NODELETE determines whether the deletefunc specified in Ns_UrlSpecificSet is called. If NS_OP_RECURSE is set, then data for all URLs more specific than the passed-in URL is also destroyed. An id of -1 matches all ids. For example, Ns_UrlSpecificDestroy("myserver", "GET", "/", -1, NS_OP_RECURSE) removes all data for the method GET for virtual server "myserver".

Top of Page

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