Synchronization configuration tree with Test Agent

Overview

// global functions

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

Detailed Documentation

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