Loading User Objects
The DHCP server loads any user-defined object referenced in the configuration file with the UserObject configuration line or stanza.
For example:
UserObject myobject
or
UserObject myobject
{
file /tmp/myobject.log;
}
For both of these examples, the dynamically loadable shared object myobject.dhcpo is loaded from the /usr/sbin directory. In the second case, the object's Initialize subroutine is passed a file pointer; the object must parse and handle its own configuration stanza.