Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

String Data Types

The string data type defined in <am_string_set.h> is am_string_set_t. The type holds a set of strings.

Details

am_string_set_allocate() and am_string_set_destroy() are used to allocate and free space for this type.

Syntax

#include "am_string_set.h"
typedef struct {
    int size;
    char **strings;
} am_string_set_t;

Members

am_string_set_t has the following members:

size

Number of strings

strings

Pointer to a pointer to a list of strings.