Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

IMA_GetLuProperties (3IMA)

Name

IMA_GetLuProperties - Gets the properties of the specified logical unit

Synopsis

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

IMA_STATUS IMA_GetLuProperties(
 /* in */     IMA_OID luOid,
 /* out */    IMA_LU_PROPERTIES *pProps
);

Parameters

luOid

The object ID of the logical unit (LU) whose properties are being retrieved.

pProps

A pointer to an IMA_LU_PROPERTIES data structure allocated by the caller. If returned successfully, this argument contains the properties of the specified LU.

Description

The IMA_GetLuProperties() API gets the properties of the specified LU.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if the pProps argument is NULL or specifies a memory area to which data cannot be written

IMA_ERROR_INVALID_OBJECT_TYPE

Returned if the luOid argument does not specify a valid object type

IMA_ERROR_INCORRECT_OBJECT_TYPE

Returned if the luOid argument does not specify an LU object

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the luOid argument does not specify an LU known to the system

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_GetLuOid(3IMA), IMA_GetLuOidList(3IMA)