C API Reference -- Ns_SetFree

### Ns_SetFree

#### Overview

Free memory used by an Ns_Set

#### Syntax

        void Ns_SetFree(
        Ns_Set *set
        );

#### Description

The Ns_SetFree function deletes all the fields of an Ns_Set and frees the set structure. After calling Ns_SetFree, the set is no longer valid and cannot be used.

#### Examples

        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
Copyright © 1998-99 America Online, Inc.