Parsec

ParsecClientSetConfig

ParsecStatusParsecClientSetConfig(Parsec *
ps,
const ParsecClientConfig *
cfg
)

Set client configuration.

Calling this function will cause the new settings within cfg to take effect immediately.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
incfgClient configuration. May be NULL to use PARSEC_CLIENT_DEFAULTS.

Returns

PARSEC_OK on success or PARSEC_NOT_RUNNING if the client is not connected.