Solaris DHCP Service Developer's Guide

list_dn()

Purpose

To return a list of network containers.

Synopsis

int list_dn(const char *location, char ***listppp, uint_t *count);

Description

Produces a dynamically allocated list of network container objects (listppp) found at location and stores the number of list items in count. If no network container objects exist, then DSVC_SUCCESS is returned, listppp is set to NULL, and count is set to 0.

Returns

DSVC_SUCCESS, DSVC_ACCESS, DSVC_NO_LOCATION.