Lines Matching defs:def

72 __s_val_postime(ParamIndexType i, ns_default_config *def,
75 __s_val_basedn(ParamIndexType i, ns_default_config *def,
79 __s_val_binddn(ParamIndexType i, ns_default_config *def,
83 __s_val_bindpw(ParamIndexType i, ns_default_config *def,
87 __s_val_serverList(ParamIndexType i, ns_default_config *def,
1524 ns_default_config *def = NULL;
1532 def = get_defconfig(cfg, index);
1610 while (def->allowed != NULL &&
1611 def->allowed[j].name != NULL && j < DEFMAX) {
1612 if (strcmp(def->allowed[j].name,
1660 ns_default_config *def = NULL;
1675 def = get_defconfig(ptr, type);
1676 if (def == NULL) {
1713 switch (def->data_type) {
1715 switch (def->index) {
1720 i = __s_get_enum_value(ptr, cp, def->index);
1724 "invalid %s (%d)"), def->name,
1725 def->index);
1746 "invalid %s (%d)"), def->name,
1747 def->index);
2230 def->index);
2258 j = __s_get_enum_value(ptr, tbuf, def->index);
2303 def->index);
2330 j = __s_get_enum_value(ptr, tbuf, def->index);
2393 if (def->data_type == ATTRMAP) {
2581 if (def->data_type == ATTRMAP) {
2646 "type (%d)"), def->data_type);
2653 conf.ns_ptype = def->data_type;
2659 if (def->ns_verify != NULL) {
2660 if ((*def->ns_verify)(type, def, &conf, errstr) != NS_SUCCESS) {
2949 ns_default_config *def;
3022 def = get_defconfig(cfg, Param);
3023 if (def != NULL)
3024 *data = dupParam(&def->defval);
3043 ns_default_config *def = NULL;
3074 def = get_defconfig(cfg, index);
3075 if (def == NULL)
3080 (void) strlcpy(abuf, def->name, sizeof (abuf));
3084 (void) strlcpy(abuf, def->name, sizeof (abuf));
3089 if (def->profile_name == NULL)
3091 (void) strlcpy(abuf, def->profile_name, sizeof (abuf));
3145 __print2buf(buffer, def->name, EQUALSEP))
3150 __print2buf(buffer, def->name, EQUSPSEP))
3155 __print2buf(buffer, def->profile_name,
3195 switch (def->index) {
3721 __s_val_postime(ParamIndexType i, ns_default_config *def,
3751 gettext("Illegal time value in %s"), def->name);
3761 __s_val_basedn(ParamIndexType i, ns_default_config *def,
3774 def->name);
3784 __s_val_serverList(ParamIndexType i, ns_default_config *def,
3796 param->ns_ppc[i], def->name);
3809 __s_val_binddn(ParamIndexType i, ns_default_config *def,
3836 __s_val_bindpw(ParamIndexType i, ns_default_config *def,