IMA_GetObjectType - Gets the object type of an initialized object ID
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetObjectType( /* in */ IMA_OID oid, /* out */ IMA_OBJECT_TYPE *pObjectType );
The initialized object ID whose type is retrieved.
A pointer to an IMA_OBJECT_TYPE variable allocated by the caller. If returned successfully, this variable contains the object type of the oid argument.
The IMA_GetObjectType() API gets the object type of an initialized object ID.
Returned if the pObjectType argument is NULL, or specifies a memory area to which data cannot be written.
Returned if the oid argument does not specify a valid object type. This is most likely to happen if an uninitialized object ID is passed to the API.
Returned if the oid argument has an owner not known to the system.
See attributes(7) for descriptions of the following attributes: