Lines Matching refs:pe

558 	slp_prop_entry_t *pe, **pe2;  in SLPSetProperty()  local
566 if (!(pe = malloc(sizeof (*pe)))) { in SLPSetProperty()
572 if (!(pe->key = strdup(pcName))) { in SLPSetProperty()
573 free(pe); in SLPSetProperty()
578 if (!(pe->val = strdup(pcValue))) { in SLPSetProperty()
579 free((void *) pe->key); in SLPSetProperty()
580 free(pe); in SLPSetProperty()
587 pe2 = slp_tsearch((void *) pe, &slp_props, compare_props); in SLPSetProperty()
588 if (pe != *pe2) { in SLPSetProperty()
591 (*pe2)->val = pe->val; in SLPSetProperty()
592 free((void *) pe->key); in SLPSetProperty()
593 free(pe); in SLPSetProperty()
599 slp_prop_entry_t pe[1], **ans; in SLPGetProperty() local
607 pe->key = pcName; in SLPGetProperty()
610 ans = slp_tfind(pe, &slp_props, compare_props); in SLPGetProperty()
618 slp_prop_entry_t *pe; in setDefaults() local
627 pe = malloc(sizeof (*pe)); in setDefaults()
628 pe->key = strdup(SLP_CONFIG_ISBROADCASTONLY); in setDefaults()
629 pe->val = strdup("false"); in setDefaults()
630 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
632 pe = malloc(sizeof (*pe)); in setDefaults()
633 pe->key = strdup(SLP_CONFIG_MULTICASTTTL); in setDefaults()
634 pe->val = strdup("255"); in setDefaults()
635 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
637 pe = malloc(sizeof (*pe)); in setDefaults()
638 pe->key = strdup(SLP_CONFIG_MULTICASTMAXWAIT); in setDefaults()
639 pe->val = strdup("15000"); in setDefaults()
640 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
642 pe = malloc(sizeof (*pe)); in setDefaults()
643 pe->key = strdup(SLP_CONFIG_DATAGRAMTIMEOUTS); in setDefaults()
644 pe->val = strdup("2000,2000,2000"); in setDefaults()
645 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
647 pe = malloc(sizeof (*pe)); in setDefaults()
648 pe->key = strdup(SLP_CONFIG_MULTICASTTIMEOUTS); in setDefaults()
649 pe->val = strdup("1000,3000,3000,3000,3000"); in setDefaults()
650 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
652 pe = malloc(sizeof (*pe)); in setDefaults()
653 pe->key = SLP_CONFIG_MTU; pe->val = "1400"; in setDefaults()
654 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
656 pe = malloc(sizeof (*pe)); in setDefaults()
657 pe->key = strdup(SLP_CONFIG_MAXRESULTS); in setDefaults()
658 pe->val = strdup("-1"); in setDefaults()
659 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
661 pe = malloc(sizeof (*pe)); in setDefaults()
662 pe->key = strdup(SLP_CONFIG_SECURITY_ON); in setDefaults()
663 pe->val = strdup("false"); in setDefaults()
664 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()
666 pe = malloc(sizeof (*pe)); in setDefaults()
667 pe->key = strdup(SLP_CONFIG_BYPASS_AUTH); in setDefaults()
668 pe->val = strdup("false"); in setDefaults()
669 (void) slp_tsearch((void *) pe, &slp_props, compare_props); in setDefaults()