Synchronising with an agent

Overview

Bring the Configurator’s copy of a subtree back in step with the Test Agent, in either direction, after something outside Configurator has changed the agent’s state. More…

// global functions

te_errno cfg_synchronize(const char* oid, bool subtree);
te_errno cfg_synchronize_fmt(bool subtree, const char* oid_fmt, ...);

Detailed Documentation

Bring the Configurator’s copy of a subtree back in step with the Test Agent, in either direction, after something outside Configurator has changed the agent’s state.

Global Functions

te_errno cfg_synchronize(const char* oid, bool subtree)

Synchronize Configurator database with managed objects.

Parameters:

oid

identifier of the object instance or subtree

subtree

1 if the subtree of the specified node should be synchronized

Returns:

Status code (see te_errno.h)

te_errno cfg_synchronize_fmt(bool subtree, const char* oid_fmt, ...)

The same function as cfg_synchronize, but OID may be format string