00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00028 #ifndef OSCAP_REPORTER_PRIV_H_
00029 #define OSCAP_REPORTER_PRIV_H_
00030
00031 #include "public/reporter.h"
00032 #include "util.h"
00033 #include <libxml/xmlerror.h>
00034
00035 OSCAP_HIDDEN_START;
00036
00044
00045 #define XREPORTER(r) ((struct oscap_reporter*) r)
00046
00048 void oscap_reporter_message_free(struct oscap_reporter_message *msg);
00050 bool oscap_reporter_message_set_family(struct oscap_reporter_message *obj, oscap_reporter_family_t newval);
00052 bool oscap_reporter_message_set_code(struct oscap_reporter_message *obj, oscap_reporter_code_t newval);
00054 bool oscap_reporter_message_set_string(struct oscap_reporter_message *obj, const char *newval);
00056 bool oscap_reporter_message_set_user1str(struct oscap_reporter_message *msg, const char *newval);
00058 bool oscap_reporter_message_set_user1num(struct oscap_reporter_message *msg, int newval);
00060 bool oscap_reporter_message_set_user1ptr(struct oscap_reporter_message *msg, void *newval);
00062 bool oscap_reporter_message_set_user2str(struct oscap_reporter_message *msg, const char *newval);
00064 bool oscap_reporter_message_set_user2num(struct oscap_reporter_message *msg, int newval);
00066 bool oscap_reporter_message_set_user2ptr(struct oscap_reporter_message *msg, void *newval);
00068 bool oscap_reporter_message_set_user3str(struct oscap_reporter_message *msg, const char *newval);
00070 bool oscap_reporter_message_set_user3num(struct oscap_reporter_message *msg, int newval);
00072 bool oscap_reporter_message_set_user3ptr(struct oscap_reporter_message *msg, void *newval);
00073
00078 void oscap_reporter_report_xml(struct oscap_reporter *reporter, xmlErrorPtr error);
00079
00084 void oscap_reporter_report_libc(struct oscap_reporter *reporter);
00085
00089 OSCAP_HIDDEN_END;
00090
00091 #endif // OSCAP_REPORTER_PRIV_H_
00092