Sms_getpoolsend, Sms_getpoolsnext, Syntax for c programmers sms_getpoolsend – HP Integrity NonStop J-Series User Manual

Page 128: Syntax for c programmers sms_getpoolsnext

Advertising
background image

Guardian Procedures

HP NonStop Storage Management Foundation User's Guide523562-007

8-16

SMS_GETPOOLSEND_

Syntax for C Programmers

SMS_GETPOOLSEND_

The SMS_GETPOOLSEND_ procedure terminates a session for discovering storage
pools on a system. Call this procedure after calling SMS_GETPOOLSNEXT_ for the
last time and before calling SMS_GETPOOLSSTART_ again.

error

returned value

INT

indicates the outcome of the operation. If an error occurs, a file system error
number is returned. If no error occurs, FEOK (zero) is returned.

Syntax for C Programmers

SMS_GETPOOLSNEXT_

The SMS_GETPOOLSNEXT_ procedure retrieves the name of a storage pool and,
optionally, configuration information for the storage pool. Before calling this procedure,
call SMS_GETPOOLSSTART_ to initiate the retrieval process. You can call
SMS_GETPOOLSNEXT_ multiple times to discover multiple storage pools on a
system. After your final call to this procedure, call SMS_GETPOOLSEND_ to terminate
your retrieval session.

#include <cextdecs(SMS_GETPOOLOFVOLUME_)>
short SMS_GETPOOLOFVOLUME_
( char *vol-or virt-disk-name
,short vol-or virt-disk-name-length
,char *pool-name
,short pool-name-max-length
short pool-name-out-length
);

error := SMS_GETPOOLSEND_
(
)CALLABLE,EXTENSIBLE;

#include <cextdecs(SMS_GETPOOLSEND_)>
short SMS_GETPOOLSEND_();

error := SMS_GETPOOLSNEXT_
(,pool-name:pool-name-max-length ! o:i
,pool-name-out-length ! o
,[pool-config-buffer:pool-config-buffer-max-length ! o:i
, pool-config-buffer-out-length] ! o
)CALLABLE,EXTENSIBLE;

Advertising
This manual is related to the following products: