JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris DHCP Service Developer's Guide
search filter icon
search icon

Document Information

Preface

1.  Overview of Solaris DHCP Data Access Architecture

Modular Framework

DHCP Server Multithreading

Data Access Layers

The Framework Configuration Layer

The Service Provider Layer API

Data Store Containers

2.  Architecture Features for Module Writers

3.  Service Provider Layer API

4.  Code Samples and Testing

Index

The Service Provider Layer API

The Service Provider Layer API consists of functions, data structures, and manifest constants contained in the /usr/include/dhcp_svc_public.h file.

The functions are summarized in the following table, with links to sections with more detail about each function.

Table 1-1 Service Provider Layer API Functions

API Function
Use
General functions for all data store containers
Pass a configuration string to the data store. Optional function.
Create the location in which the data store will reside.
Return general status information for the data store.
Return the version of the Service Provider Layer API implemented by the data store container.
Functions for dhcptab containers
Return the dhcptab container name.
Open or create the dhcptab container.
Perform a query for records in the dhcptab container.
Add a record to the dhcptab container.
Modify an existing record in the dhcptab container.
Delete a record from the dhcptab container.
Close the dhcptab container.
Remove the dhcptab container from the data store.
Functions for DHCP network containers
Return a list of DHCP network container names.
Open or create a DHCP network container.
Perform a query for records in a DHCP network container.
Add a record to a DHCP network container.
Modify an existing record in a DHCP network container.
Delete a record from a DHCP network container.
Close a DHCP network container.
Remove a DHCP network container from the data store.