Lines Matching refs:attribute
87 * An attribute list is a child of an instance.
260 freeAttr: The attribute node destructor...
391 searchAttr: Searches for the attribute node identified by "attr",
1304 attribute/value pair basis, otherwise they are merely added to the instance.
1322 attr->attribute,
1369 "OWconfigSetAttribute" takes an attribute/value pair and adds it to an
1371 exist, they are or it is created. If the named attribute already exists
1377 OWconfigSetAttribute(char *class, char *name, char *attribute, char *value)
1382 if (!(class && name && attribute && value))
1399 ap = searchNodeList(ip->head, attribute);
1408 ap->name = dupString(attribute);
1413 ap->hashValue = hashValue(attribute);
1544 "OWconfigGetInstance" returns a list of attribute definitions belonging
1576 ptr->attribute = dupString(ap->name);
1578 if ((!ptr->attribute) || (!ptr->value)) {
1581 if (ptr->attribute)
1582 freeMem(ptr->attribute);
1590 freeMem(ptr->attribute);
1625 freeMem(ptr->attribute);
1643 "OWconfigGetAttribute" returns the string value of the requested attribute.
1645 Return: (char *) to value of attribute or NULL if attribute could not
1649 OWconfigGetAttribute(char *class, char *name, char *attribute)
1653 if (!(class && name && attribute))
1656 ap = searchAttr(class, name, attribute);
1673 OWconfigFreeAttribute(char *attribute)
1675 if (attribute)
1676 freeMem(attribute);
1797 Class instances and attribute/value pairs read from readfile2 will override
1799 attribute/value pair basis. Before a database file is read, it is