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

Ns_SetCreate

Overview

Create a new Ns_Set

Syntax

    Ns_Set *Ns_SetCreate(
    	char *name
    );

Description

The Ns_SetCreate function allocates and returns a pointer to a new Ns_Set. You must eventually call Ns_SetFree to release the memory used by the set.

Example

    Ns_Set *aSet;
    
    aSet = Ns_SetCreate(""); /* set name can be NULL */
    Ns_SetPut(aSet, "foo", "foovalue");
    /* do something with aSet */
    Ns_SetFree(aSet);
    

Top of Page

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