From: M.R.Rieback <M.R...@IT...> - 2003-04-05 12:41:31
|
Hello.. My name is Melanie Rieback, and I'm a grad student that is currently integrating IDMEF capabilities into an IDS correlation system that I've been creating for my Masters thesis. I've been busy writing a C++ wrapper program for libidmef, to provide a suitable object-oriented interface that my C++ based program can use. In the process of working on this, I have the following comment about libidmef: In the file idmefxml_types.h (on line 343), in the struct definition of _IDMEFanalyzer, one of the member declarations is a char * called 'class'. While this name literally matches the IDMEF DTD, is causes some unfortunate problems while integrating with a larger C++ program, since it's obviously a reserved word in C++. I've tried using all kinds of macros, define "C" blocks, and creative linking to solve this program, but unfortunately the second that I attach the file idmefxml_parse.h in any way shape or form to my C++ code, it dies on this error. Would it be possible to use the variable name 'analyzer_class' in the IDMEFanalyzer struct instead? I'm also open to any comments on how I can integrate this structure in a C++ program, despite the fact that it's called 'class'. Thanks in advance, Melanie Rieback Technical University of Delft |