unbound: replay_scenario Struct Reference

unbound 0.1

Data Fields
replay_scenario Struct Reference

A replay scenario. More...

`#include <replay.h>`

## Data Fields
char * | title
| name of replay scenario.
struct replay_moment * | mom_first
| The list of replay moments.
struct replay_moment * | mom_last
| The last element in list of replay moments.
struct replay_range * | range_list
| List of matching answers.

## Detailed Description

A replay scenario.

## Field Documentation

## ◆ title

char* replay_scenario::title

name of replay scenario.

malloced string.

Referenced by make_scenario(), replay_scenario_delete(), and setup_playback().

## ◆ mom_first

struct replay_moment* replay_scenario::mom_first

The list of replay moments.

Linked list. Time increases in list.

Referenced by advance_moment(), replay_scenario_delete(), replay_scenario_read(), and run_scenario().

## ◆ range_list

struct replay_range* replay_scenario::range_list

List of matching answers.

This is to ease replay scenario creation. It lists queries (to the network) and what answer should be returned. The matching answers are valid for a range of time steps. So: timestep, parts of query, destination --> answer.

Referenced by pending_find_match(), replay_scenario_delete(), and replay_scenario_read().

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

- testcode/replay.h