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
|
|
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. |
|