PerformUpdate

API

PerformUpdate

Function

This is called in order to initiate an update of the custom engine. The call is synchronous and waits until the update completes.

Function prototype

int PerformUpdate
(
void ** reserved
)

Arguments

Argument

Description

reserved

Reserved for future use.

Return value

Value

Description

0

Update completed successfully.

1

Failed to start or finish updating.

2

Engine is already up to date.

3

Failed to update due to network problem.

4

Engine is already updating.

5

Failed downloading update.

6

Failed reloading database.