Windows PowerShell command on Get-command srpt_GetDefaultState
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man srpt_GetDefaultState

SRP Target Management Library srpt_SetDefaultState(3SRPT)

NAME

srpt_SetDefaultState, srpt_GetDefaultState - set and

retrieve the default state setting for the SRP Target ser-

vice

SYNOPSIS

cc [ flag... ] file... -lsrpt [ library... ]

#include

int srpt_SetDefaultState(boolean_t enabled);

int srpt_GetDefaultState(boolean_t *enabled);

PARAMETERS

enabled boolean value indicating whether COMSTAR SRP tar-

gets should be created

DESCRIPTION

The srpt_SetDefaultState() function sets the default

behavior of the SRP Target service. If enabled is B_TRUE,

SRP targets will be created for all discovered HCAs that

have not been specifically disabled. If enabled is B_FALSE,

targets will not be created unless the HCA has been specifi-

cally enabled. See srpt_SetTargetState(3SRPT) for enabling

or disabling specific HCAs. If the default state is changed

when the SRP service is online, the state of existing tar-

gets is not changed until the service is restarted.

The srpt_GetDefaultState() function returns the current

value for enabled.

RETURN VALUES

Upon successful completion, these functions return 0. Other-

wise they return a non-zero value to indicate the error.

ERRORS

These functions will fail if: ENOMEM Resources could not be allocated. EINVAL A parameter is invalid.

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

SunOS 5.11 Last change: 2 Apr 2010 1

SRP Target Management Library srpt_SetDefaultState(3SRPT)

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Interface Stability | Committed |

|_____________________________|_____________________________|

| MT-Level | MT-Safe |

|_____________________________|_____________________________|

SEE ALSO

libsrpt(3LIB), srpt_SetTargetState(3SRPT), attributes(5)

SunOS 5.11 Last change: 2 Apr 2010 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™