(no version information, might be only in CVS) Adds an attribute to the object. Returns TRUE on success and otherwise FALSE. See also hwapi_object_remove().