Loading...
Searching...
No Matches
time_config.h File Reference

The rules a face hands the time store, what a reconfigure runs of them, and the check for whether two sets of rules run the same tickers. More...

#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  TimeConfig
 The rules a face hands the time store, built from its own settings so the store names no SETTING_*. More...

Functions

bool time_config_same_tickers (TimeConfig a, TimeConfig b)
 Whether two sets of rules run the same tickers.
TimeConfig time_config_reconfigured (TimeConfig cfg, bool pinned)
 The rules a reconfigure runs, which are the face's own with live held off on a store init started frozen.
bool time_config_reconfigure (TimeConfig *running, TimeConfig cfg, bool pinned)
 What a reconfigure does to the rules running, in the order the time store needs.

Detailed Description

The rules a face hands the time store, what a reconfigure runs of them, and the check for whether two sets of rules run the same tickers.

The time store owns the tickers and talks to the SDK. The rules and what it decides from them live here as plain C, so their specs run on a PC.