STMFCREATEHOSTGROUP(3STMF) SCSI Target Mode Framework Library Functions
stmfCreateHostGroup - create a new host group
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfCreateHostGroup(stmfGroupName *hostGroupName);
hostGroupName
The name of the host group to be created.
The stmfCreateHostGroup() function creates a new host group.
The following values are returned:
STMF_ERROR_EXISTS
The value specified for hostGroupName
already exists in the system.
STMF_INVALID_ARGUMENT
The value specified for hostGroupName was
not valid.
STMF_STATUS_SUCCESS
The API call was successful.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
|MT-Level | Safe |
+--------------------+-----------------+
libstmf(3LIB), attributes(7)
June 9, 2008 STMFCREATEHOSTGROUP(3STMF)
NAME
stmfCreateHostGroup - create a new host group
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfCreateHostGroup(stmfGroupName *hostGroupName);
PARAMETERS
hostGroupName
The name of the host group to be created.
DESCRIPTION
The stmfCreateHostGroup() function creates a new host group.
RETURN VALUES
The following values are returned:
STMF_ERROR_EXISTS
The value specified for hostGroupName
already exists in the system.
STMF_INVALID_ARGUMENT
The value specified for hostGroupName was
not valid.
STMF_STATUS_SUCCESS
The API call was successful.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
|MT-Level | Safe |
+--------------------+-----------------+
SEE ALSO
libstmf(3LIB), attributes(7)
June 9, 2008 STMFCREATEHOSTGROUP(3STMF)