fake_event.h File Reference

Event service that replays a scenario. More...


Functions

void fake_event_init (struct replay_scenario *scen)
 Initialise fake event services.
void fake_event_cleanup ()
 Deinit fake event services.


Detailed Description

Event service that replays a scenario.

This implements the same exported symbols as the files: util/netevent.c services/listen_dnsport.c services/outside_network.c But these do not actually access the network or events, instead the scenario is played.


Function Documentation

void fake_event_init ( struct replay_scenario scen  ) 

Initialise fake event services.

The fake event services will automatically start when the main program calls netevent.h functions, such as comm_base_dispatch().

Parameters:
scen,: Set the scenario to use for upcoming event handling.

Referenced by main().


Generated on Mon Nov 16 11:49:45 2009 for unbound by  doxygen 1.5.9