Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

IMA_RegisterForObjectPropertyChanges (3IMA)

Name

IMA_RegisterForObjectPropertyChanges - Registers a client function to be called whenever the property of an object changes

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_RegisterForObjectPropertyChanges (
      /* in */     IMA_OBJECT_PROPERTY_FN pClientFn
);

Parameters

pClientFn

A pointer to an IMA_OBJECT_PROPERTY_FN() function defined by the client. If returned successfully, this function is called to inform the client of objects whose property or properties have changed.

Description

The IMA_RegisterForObjectPropertyChanges() API registers a client function to be called whenever the property of an object changes.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if the pClientFn argument is NULL, or specifies a memory area that is not executable

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_DeregisterForObjectPropertyChanges(3IMA)