struct cfg_object

Overview

struct cfg_object {
    // fields

    struct cfg_object* father;
    struct cfg_object* son;
    struct cfg_object* brother;
    unsigned ordinal_number;
    struct cfg_dependency* depends_on;
    struct cfg_dependency* dependants;
    struct cfg_object* dep_next;
    struct cfg_object* dep_prev;
    bool substitution;
    bool unit;
    bool unit_part;
    cfg_handle handle;
    char* oid;
    char subid[CFG_SUBID_MAX];
    cfg_val_type type;
    uint8_t access;
    char* def_val;
    bool vol;
};

Detailed Documentation

Fields

struct cfg_object* father

Link to father

struct cfg_object* son

Link to the first son

struct cfg_object* brother

Link to the next brother

unsigned ordinal_number

Ordinal number of this object in the topologically sorted list

struct cfg_dependency* depends_on

Objects this object depends on

struct cfg_dependency* dependants

Objects depending on this object

struct cfg_object* dep_next

The next object in topological order

struct cfg_object* dep_prev

The previous object in toplogical order

bool substitution

The object uses substitution

bool unit

If true, object should be considered as a logical unit, not simply as a loose collection of child objects. Configurator will take this into account when managing dependencies and restoring configuration from backup

bool unit_part

true means the object is a descendant of an object having unit=true

cfg_handle handle

Handle of the object

char* oid

OID of the object

char subid[CFG_SUBID_MAX]

Own sub-identifier of the object

cfg_val_type type

Type of the object instance value

uint8_t access

Access rights

char* def_val

Default value

bool vol

The object is volatile