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
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | cfg | Host 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.