#include <xom.h>
OM_return_code om_delete(
OM_object subject);
The om_delete() function deletes a service-generated public object or makes a private object inaccessible. It is not intended for use on client-generated public objects.
If applied to a service-generated public object, the function deletes the object and releases any resources associated with the object, including the space occupied by descriptors and attribute values. The function is applied recursively to any public subobjects. This does not affect any private subobjects.
If applied to a private object, the function makes the object inaccessible. Any existing object handles for the object are invalidated. The function is applied recursively to any private subobjects.