Lines Matching refs:ddpp
69 * Adds a dhcp_confopt_t to the ddpp table. If the table is NULL, one is
76 add_dsvc_conf(dhcp_confopt_t **ddpp, const char *key, const char *value)
81 if (ddpp == NULL || key == NULL || value == NULL) {
96 for (i = 0; *ddpp && (*ddpp)[i].co_key != NULL; i++)
99 ndp = realloc(*ddpp, (i + 2) * sizeof (dhcp_confopt_t));
109 *ddpp = ndp;
121 read_dsvc_conf(dhcp_confopt_t **ddpp)
131 if (ddpp == NULL) {
202 *ddpp = ddp;
219 replace_dsvc_conf(dhcp_confopt_t **ddpp, const char *key, const char *value)
224 if (ddpp == NULL || key == NULL || value == NULL) {
228 if ((tdp = find_dhcp_confopt(*ddpp, key)) != NULL) {
242 err = (add_dsvc_conf(ddpp, key, value) == 0) ? 0 : -1;