Lines Matching defs:newp
608 * Add the record newp to the DHCP container hand. newp's update signature
610 * responsible for freeing newp if it was dynamically allocated.
613 add_dd_entry(dsvc_handle_t hand, void *newp)
621 if (!validate_dd_entry(hand, newp, B_FALSE))
631 error = hand->d_api.add_dt(hand->d_hand, newp);
633 error = hand->d_api.add_dn(hand->d_hand, newp);
642 * Modify the record origp with the record newp in the DHCP container hand.
643 * newp's update signature will be updated by the public layer module doing
644 * the update. Caller is responsible for freeing origp and/or newp if they
648 modify_dd_entry(dsvc_handle_t hand, const void *origp, void *newp)
659 if (!validate_dd_entry(hand, newp, B_FALSE))
669 error = hand->d_api.modify_dt(hand->d_hand, origp, newp);
671 error = hand->d_api.modify_dn(hand->d_hand, origp, newp);