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

Ns_UrlSpecificGet

Overview

Retrieve URL-specific data

Syntax

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

Description

The Ns_UrlSpecificGet function retrieves the best match that it can find. For instance, suppose you had previously registered a handle/method/url/id combination of {myserver, GET, /, 1} and {myserver, GET, /inventory, 1}. The following call, then, would match the data registered at {myserver, GET, /inventory, 1}:

    
    	Ns_UrlSpecificGet("myserver", "GET", "/inventory/RJ45", 1)

Examples

    See the example for Ns_UrlSpecificAlloc.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.