libstoragemgmt_accessgroups.h File Reference
#include "libstoragemgmt_types.h"
Go to the source code of this file.
Function Documentation
Returns a pointer to the id. Note: Storage is allocated in the access group and will be deleted when the access group gets freed. If you need longer lifespan copy the value.
- Parameters:
-
| group | Access group to retrieve id for. |
- Returns:
- Null on error (not an access group), else value of group.
Returns a pointer to the initiator list. Note: Storage is allocated in the access group and will be deleted when the access group gets freed. If you need longer lifespan copy the value.
- Parameters:
-
| group | Access group to retrieve id for. |
- Returns:
- Null on error (not an access group), else value of initiator list.
const char LSM_DLL_EXPORT* lsm_access_group_name_get |
( |
lsm_access_group * |
group |
) |
|
Returns a pointer to the name. Note: Storage is allocated in the access group and will be deleted when the access group gets freed. If you need longer lifespan copy the value.
- Parameters:
-
| group | Access group to retrieve id for. |
- Returns:
- Null on error (not an access group), else value of name.
int LSM_DLL_EXPORT lsm_access_group_record_array_free |
( |
lsm_access_group * |
ag[], |
|
|
uint32_t |
size | |
|
) |
| | |
Frees the resources for an array of access groups.
- Parameters:
-
| ag | Array of access groups to free resources for |
| size | Number of elements in the array. |
- Returns:
- LSM_ERR_OK on success, else error reason.
Copies an access group.
- Parameters:
-
- Returns:
- NULL on error, else copied access group.
Frees the resources for an access group.
- Parameters:
-
- Returns:
- LSM_ERR_OK on success, else error reason.
const char LSM_DLL_EXPORT* lsm_access_group_system_id_get |
( |
lsm_access_group * |
group |
) |
|
Returns a pointer to the system id. Note: Storage is allocated in the access group and will be deleted when the access group gets freed. If you need longer lifespan copy the value.
- Parameters:
-
| group | Access group to retrieve id for. |
- Returns:
- Null on error (not an access group), else value of system id.