1stmfDevidFromIscsiSNCaSmIe(T3aSrTgMeFt)Mode Framework LibrarsytmFfuDnecvtiidoFnrsomIscsiName(3STMF)
2
3
4

NAME

6       stmfDevidFromIscsiName - convert an iSCSI name to a stmfDevid structure
7

SYNOPSIS

9       cc [ flag... ] file... -lstmf [ library... ]
10       #include <libstmf.h>
11
12       int stmfDevidFromIscsiName(char *iscsiName, stmfDevid *devid);
13
14

PARAMETERS

16       iscsiName    A  character  string  of  UTF-8 encoded Unicode characters
17                    representing the iSCSI name terminated  with  the  Unicode
18                    nul character.
19
20
21       devid        A  pointer to a stmfDevid structure allocated by the call‐
22                    er. On successful return, this will contain the  converted
23                    device  identifier.  On error, the value of this parameter
24                    is undefined.
25
26

DESCRIPTION

28       The stmfDevidFromIscsiName() function  converts  an  iSCSI  name  to  a
29       stmfDevid structure. It returns the devid as a SCSI name string identi‐
30       fier.
31

RETURN VALUES

33       The following values are returned:
34
35       STMF_ERROR_INVALID_ARGUMENT
36
37           The value of iscsiName was not valid iSCSI name.
38
39
40       STMF_STATUS_SUCCESS
41
42           The API call was successful.
43
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │Interface Stability          │Committed                    │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │MT-Level                     │Safe                         │
57       └─────────────────────────────┴─────────────────────────────┘
58

SEE ALSO

60       libstmf(3LIB), attributes(5)
61
62
63
64SunOS 5.11                        9 Jun 2008     stmfDevidFromIscsiName(3STMF)
Impressum