struct ta_inst

Overview

Node of the TA single linked list More…

#include <logger_internal.h>

struct ta_inst {
    // fields

    char agent[RCF_MAX_NAME];
    char type[RCF_MAX_NAME];
    uint32_t sequence;
    int polling;
    bool thread_run;
    pthread_t thread;
    int flush_log;

    // methods

    SLIST_ENTRY(ta_inst);
};

Detailed Documentation

Node of the TA single linked list

Fields

char agent[RCF_MAX_NAME]

TA name

char type[RCF_MAX_NAME]

Type assigned for TA or NULL

uint32_t sequence

Incoming message sequence nmbr

int polling

Polling parameter value (in milliseconds)

bool thread_run

Is thread running?

pthread_t thread

Thread identifier

int flush_log

0 - normal processing; 1 - flush TA local log

Methods

SLIST_ENTRY(ta_inst)

Pointer to the next structure