Commit Graph

2 Commits

Author SHA1 Message Date
Jean Sirmai 331fa3915f
src/fsm/log/* three files created in this dir: manager.c, oper.c and appendix.c
These three files contain all the functions needed for the log to be init, build
and published.

The most important function is in the 'manager' file:

fsm_add_log (int severity,
             int source,
             const char *file_source,
             const char *function_source,
             const char *string_value)

Any event to be reported must call this function.
2024-11-08 13:18:31 +01:00
Jean Sirmai 56b539e9c0
include/fsm.h: prepares the building of a log and create src/readme.doc
This commit is the first in a series that will make the fsm apt to build the
log.

The log (or journal) records events chronologically from the start to the end
of the programme.
Its quantitatively most important part is to report on the execution of the
session.

The log will be created from the fsm (finite state machine) which describes
all the possible states of the Gem-graph client and all the transitions between
them.

The fsm header is introduced in this commit.

It lists the structures, functions and tools that the log will need and details
the presentation of events in the log
[date - rank - source file - source function - value].

The src/readme.docs file provides an initial overview of the missions and their
distribution in the code files.
2024-11-08 12:27:38 +01:00