Parsec

ParsecHostSetConfig

voidParsecHostSetConfig(Parsec *
ps,
const ParsecHostConfig *
cfg
)

Set host configuration.

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

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
incfgHost configuration. May be NULL to use PARSEC_HOST_DEFAULTS.

Returns

PARSEC_OK on success or PARSEC_NOT_RUNNING if the host has not been started.