This Solaris DHCP Service Developer's Guide provides information for developers who want to use a data storage facility not currently supported by the Solaris™ DHCP service. The manual gives an overview of the data access framework used by Solaris DHCP, general guidelines for developers, and a listing of the API functions you use to write a module to support the new data store.
This book is intended for Solaris programmers interested in extending the data storage choices available to the Solaris DHCP service.
This book consists of the following chapters:
Chapter 1, Overview of Solaris DHCP Data Access Architecture provides an overview of the architecture used for data access in the DHCP service.
Chapter 2, Architecture Features for Module Writers discusses what the architecture requires of you.
Chapter 3, Service Provider Layer API describes the API functions you will export.
Chapter 4, Code Samples and Testing provides sample code templates and pointers to locations on Sun's web site where you can find additional aids for writing and debugging code for the public module.
The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.
The following table describes the typographic changes used in this book.
Table P–1 Typographic Conventions
Typeface or Symbol |
Meaning |
Example |
---|---|---|
AaBbCc123 | The names of commands, files, and directories; on-screen computer output |
Edit your .login file. Use ls -a to list all files. machine_name% you have mail. |
AaBbCc123 | What you type, contrasted with on-screen computer output |
machine_name% su Password: |
AaBbCc123 | Command-line placeholder: replace with a real name or value |
To delete a file, type rm filename. |
AaBbCc123 |
Book titles, new words, or terms, or words to be emphasized. |
Read Chapter 6 in User's Guide. These are called class options. You must be root to do this. |
The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.
Table P–2 Shell Prompts
Shell |
Prompt |
---|---|
C shell prompt | machine_name% |
C shell superuser prompt | machine_name# |
Bourne shell and Korn shell prompt | $ |
Bourne shell and Korn shell superuser prompt | # |