Electroneum
replay_runtime Struct Reference

#include <replay.h>

Collaboration diagram for replay_runtime:

Public Attributes

struct replay_scenarioscenario
 
struct replay_momentnow
 
struct fake_pendingpending_list
 
struct replay_answeranswer_list
 
struct replay_answeranswer_last
 
struct fake_timertimer_list
 
comm_point_callback_typecallback_query
 
void * cb_arg
 
struct infra_cacheinfra
 
time_t now_secs
 
struct timeval now_tv
 
void(* sig_cb )(int, void *)
 
void * sig_cb_arg
 
int exit_cleanly
 
size_t bufsize
 
rbtree_typevars
 

Detailed Description

Replay storage of runtime information.

Definition at line 266 of file replay.h.

Member Data Documentation

◆ answer_last

struct replay_answer* replay_runtime::answer_last

last element in answer list.

Definition at line 288 of file replay.h.

◆ answer_list

struct replay_answer* replay_runtime::answer_list

List of answers to queries from clients. These need to be checked.

Definition at line 285 of file replay.h.

◆ bufsize

size_t replay_runtime::bufsize

size of buffers

Definition at line 314 of file replay.h.

◆ callback_query

comm_point_callback_type* replay_runtime::callback_query

callback to call for incoming queries

Definition at line 294 of file replay.h.

◆ cb_arg

void* replay_runtime::cb_arg

user argument for incoming query callback

Definition at line 296 of file replay.h.

◆ exit_cleanly

int replay_runtime::exit_cleanly

time to exit cleanly

Definition at line 311 of file replay.h.

◆ infra

struct infra_cache* replay_runtime::infra

ref the infra cache (was passed to outside_network_create)

Definition at line 299 of file replay.h.

◆ now

struct replay_moment* replay_runtime::now

Current moment.

Definition at line 274 of file replay.h.

◆ now_secs

time_t replay_runtime::now_secs

the current time in seconds

Definition at line 302 of file replay.h.

◆ now_tv

struct timeval replay_runtime::now_tv

the current time in microseconds

Definition at line 304 of file replay.h.

◆ pending_list

struct fake_pending* replay_runtime::pending_list

List of pending queries in order they were sent out. First one has been sent out most recently. Last one in list is oldest.

Definition at line 280 of file replay.h.

◆ scenario

struct replay_scenario* replay_runtime::scenario

The scenario

Definition at line 270 of file replay.h.

◆ sig_cb

void(* replay_runtime::sig_cb) (int, void *)

signal handler callback

Definition at line 307 of file replay.h.

◆ sig_cb_arg

void* replay_runtime::sig_cb_arg

signal handler user arg

Definition at line 309 of file replay.h.

◆ timer_list

struct fake_timer* replay_runtime::timer_list

list of fake timer callbacks that are pending

Definition at line 291 of file replay.h.

◆ vars

rbtree_type* replay_runtime::vars

Tree of macro values. Of type replay_var

Definition at line 319 of file replay.h.


The documentation for this struct was generated from the following file: