pjsua_acc_get_config method
Get current config for the account. This will copy current account setting to the specified parameter. Note that all pointers in the settings will point to the original settings in the account and application must not modify the values in any way. Application must also take care that these data is only valid until the account is destroyed.
@param acc_id The account ID. @param pool Pool to duplicate the config. @param acc_cfg Structure to receive the settings.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_acc_get_config(
int acc_id,
ffi.Pointer<pj_pool_t> pool,
ffi.Pointer<pjsua_acc_config> acc_cfg,
) {
return _pjsua_acc_get_config(
acc_id,
pool,
acc_cfg,
);
}