Reporters interface. More...
#include <stdbool.h>#include <stdarg.h>Go to the source code of this file.
Defines | |
| #define | OSCAP_REPORTER_ALL 0, OSCAP_REPORTER_CODE_MAX |
| Macro to match whole code range. | |
Typedefs | |
| typedef enum oscap_reporter_family | oscap_reporter_family_t |
| Reporter message family. | |
| typedef unsigned int | oscap_reporter_code_t |
| Reporter message code type. | |
| typedef bool(* | oscap_reporter_init_func )(void **user) |
| Function porototype for reporter initialisation. | |
| typedef void(* | oscap_reporter_report_func )(const struct oscap_reporter_message *msg, void *user) |
| Function porototype for reporting a message. | |
| typedef void(* | oscap_reporter_destroy_func )(void *user) |
| Function porototype for destroying a reporter. | |
Enumerations | |
| enum | oscap_reporter_family { OSCAP_REPORTER_FAMILY_XML = 1, OSCAP_REPORTER_FAMILY_USER_START = 1024 } |
Reporter message family. | |
Variables | |
| const oscap_reporter_code_t | OSCAP_REPORTER_CODE_MAX |
| Maximum code. | |
Reporters interface.
1.6.1