Mailing List Archive

Problem in "xen_event_record" structure
Hi,
Compilation of C++ user code with xen api header file "xen_event.h" fails
because of a char* field named "class" in "xen_event_record" structure.

typedef struct xen_event_record
{
int64_t id;
time_t timestamp;
char *class;
enum xen_event_operation operation;
char *ref;
char *obj_uuid;
} xen_event_record;

I have also observed that " __cplusplus" macros are not used in the header
files which requires caller to use extern "C" while using the library with
C++ code.

Regards
Chetan