oscap_reporter_switch_ctxt Struct Reference
[Reporters]

Switch reporter context. More...

#include <reporter.h>

Public Member Functions

struct oscap_reporter_switch_ctxtoscap_reporter_switch_ctxt_new (void)
void oscap_reporter_switch_ctxt_add_range_reporter (struct oscap_reporter_switch_ctxt *ctxt, oscap_reporter reporter, void *arg, oscap_reporter_family_t family, oscap_reporter_code_t min_code, oscap_reporter_code_t max_code)
void oscap_reporter_switch_ctxt_add_family_reporter (struct oscap_reporter_switch_ctxt *ctxt, oscap_reporter reporter, void *arg, oscap_reporter_family_t family)
void oscap_reporter_switch_ctxt_add_reporter (struct oscap_reporter_switch_ctxt *ctxt, oscap_reporter reporter, void *arg)
void oscap_reporter_switch_ctxt_free (struct oscap_reporter_switch_ctxt *ctxt)
int oscap_reporter_switch (const struct oscap_reporter_message *msg, void *arg)

Data Fields

struct oscap_listunits

Detailed Description

Switch reporter context.

oscap_reporter_switch expects an instance of this structure as its argument. Each received message is forwarded to other reporters if it meets criteria given by the filter (i.e. family and code range).


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

Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1