Lines Matching defs:attrName
538 setObjAttrField(char *attrName, __nis_single_value_t *val,
543 if (attrName == 0 || val == 0 || objAttr == 0 ||
556 if (strcmp("zo_owner", attrName) == 0) {
562 } else if (strcmp("zo_group", attrName) == 0) {
568 } else if (strcmp("zo_domain", attrName) == 0) {
574 } else if (strcmp("zo_access", attrName) == 0) {
579 } else if (strcmp("zo_ttl", attrName) == 0) {
1358 * or a filter, return the value associated with the attribute 'attrName'.
1359 * If no instance of 'attrName' is found, return 'default'. In all cases,
1365 attrVal(const char *msg, char *attrName, char *def, char *attrs) {
1370 if (attrName == 0 || attrs == 0)
1392 if (strcasecmp(attrName, name) == 0) {
1425 char **attrName, *dn;
1474 attrName = am(myself, sizeof (attrName[0]));
1475 if (attrName != 0)
1476 attrName[0] = attrVal(myself, "nisObject",
1479 if (rv == 0 || sv == 0 || val == 0 || attrName == 0 ||
1480 attrName[0] == 0) {
1486 sfree(attrName);
1500 rv->attrName = attrName;
1673 rv[i].attrName[j]) == 0) {
1761 char *attrName =
1769 if (attrName == 0) {
1788 rv.attrName = &attrName;
1794 sfree(attrName);