oscap_reporter_message Struct Reference
[Reporters]

Represents a message to be reported. More...

#include <reporter.h>

Public Member Functions

struct oscap_reporter_messageoscap_reporter_message_new (void)
struct oscap_reporter_messageoscap_reporter_message_new_fill (oscap_reporter_family_t family, oscap_reporter_code_t code, const char *string)
struct oscap_reporter_messageoscap_reporter_message_new_fmt (oscap_reporter_family_t family, oscap_reporter_code_t code, const char *fmt,...)
struct oscap_reporter_messageoscap_reporter_message_clone (const struct oscap_reporter_message *msg)
oscap_reporter_family_t oscap_reporter_message_get_family (const struct oscap_reporter_message *item)
oscap_reporter_code_t oscap_reporter_message_get_code (const struct oscap_reporter_message *item)
const char * oscap_reporter_message_get_string (const struct oscap_reporter_message *item)
const char * oscap_reporter_message_get_user1str (const struct oscap_reporter_message *msg)
int oscap_reporter_message_get_user1num (const struct oscap_reporter_message *msg)
void * oscap_reporter_message_get_user1ptr (const struct oscap_reporter_message *msg)
const char * oscap_reporter_message_get_user2str (const struct oscap_reporter_message *msg)
int oscap_reporter_message_get_user2num (const struct oscap_reporter_message *msg)
void * oscap_reporter_message_get_user2ptr (const struct oscap_reporter_message *msg)
const char * oscap_reporter_message_get_user3str (const struct oscap_reporter_message *msg)
int oscap_reporter_message_get_user3num (const struct oscap_reporter_message *msg)
void * oscap_reporter_message_get_user3ptr (const struct oscap_reporter_message *msg)
void oscap_reporter_message_free (struct oscap_reporter_message *msg)
bool oscap_reporter_message_set_family (struct oscap_reporter_message *obj, oscap_reporter_family_t newval)
bool oscap_reporter_message_set_code (struct oscap_reporter_message *obj, oscap_reporter_code_t newval)
bool oscap_reporter_message_set_string (struct oscap_reporter_message *obj, const char *newval)
bool oscap_reporter_message_set_user1str (struct oscap_reporter_message *msg, const char *newval)
bool oscap_reporter_message_set_user1num (struct oscap_reporter_message *msg, int newval)
bool oscap_reporter_message_set_user1ptr (struct oscap_reporter_message *msg, void *newval)
bool oscap_reporter_message_set_user2str (struct oscap_reporter_message *msg, const char *newval)
bool oscap_reporter_message_set_user2num (struct oscap_reporter_message *msg, int newval)
bool oscap_reporter_message_set_user2ptr (struct oscap_reporter_message *msg, void *newval)
bool oscap_reporter_message_set_user3str (struct oscap_reporter_message *msg, const char *newval)
bool oscap_reporter_message_set_user3num (struct oscap_reporter_message *msg, int newval)
bool oscap_reporter_message_set_user3ptr (struct oscap_reporter_message *msg, void *newval)
struct oscap_reporter_messageoscap_reporter_message_new_arg (oscap_reporter_family_t family, oscap_reporter_code_t code, const char *fmt, va_list ap)

Data Fields

oscap_reporter_family_t family
oscap_reporter_code_t code
struct {
   oscap_reporeter_userdata_t   u1t: 2
   oscap_reporeter_userdata_t   u2t: 2
   oscap_reporeter_userdata_t   u3t: 2
flags
char * string
union oscap_reporter_userdata user1
union oscap_reporter_userdata user2
union oscap_reporter_userdata user3

Detailed Description

Represents a message to be reported.


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

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1