oscap_reporter Struct Reference
[Reporters]

Reporter instance. More...

#include <reporter.h>

Public Member Functions

struct oscap_reporteroscap_reporter_new (const struct oscap_reporter_type *type, void *user)
 Create a new reporter of given type.
void oscap_reporter_free (struct oscap_reporter *reporter)
void oscap_reporter_dispatch (struct oscap_reporter *reporter, const struct oscap_reporter_message *msg)
 Forward a message to a reporter.
void oscap_reporter_report (struct oscap_reporter *reporter, struct oscap_reporter_message *msg)
 Do report.
void oscap_reporter_report_fmt (struct oscap_reporter *reporter, oscap_reporter_family_t family, oscap_reporter_code_t code, const char *fmt,...)
const char * oscap_reporter_get_userdata (const struct oscap_reporter *item)
bool oscap_reporter_set_userdata (struct oscap_reporter *obj, const char *newval)
void oscap_reporter_report_xml (struct oscap_reporter *reporter, xmlErrorPtr error)
 Feed a XML error to the reporter.
void oscap_reporter_report_libc (struct oscap_reporter *reporter)
 Report standard C error (errno based) to a reporter.

Data Fields

struct oscap_reporter_typetype
void * userdata

Related Functions

(Note that these are not member functions.)



Standard reporters



struct oscap_reporter_type OSCAP_REPORTER_STDOUT
 Standard output reporter.
struct oscap_reporter_type OSCAP_REPORTER_MULTI
 Reporter to multiple other reporters.
void oscap_reporter_multi_add_reporter (struct oscap_reporter *multi, struct oscap_reporter *reporter)
 Add a subreporter to given multireporter.
struct oscap_reporteroscap_reporter_new_filter (struct oscap_reporter *pos_child, struct oscap_reporter *neg_child, oscap_reporter_family_t family, oscap_reporter_code_t min_code, oscap_reporter_code_t max_code)
 Create a new filtering reporter.

Detailed Description

Reporter instance.


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

Generated on 30 Jun 2010 for Open SCAP Library by  doxygen 1.6.1