<HTML dir=ltr><HEAD><TITLE>Re: [Open-scap] Stubbed implementation of open-scap oval parsing.</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18203" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText68997 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Peter, you are right.  This code should be changed.  As a matter of stylistic integrity, it seems to me that we would want to deprecate the use of x_ptr classes in the implementation altogether and replace these with the open api struct references that you suggest.  Since I am working with this code as an implementation of the oval parsing/population function, I think I would be in the best position to make the suggested changes.  A question for the community: Should these changes be implemented before or after a complete parsing implementation is available?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Peter Vrabec [mailto:pvrabec@redhat.com]<BR><B>Sent:</B> Tue 3/17/2009 12:23 PM<BR><B>To:</B> open-scap-list@redhat.com<BR><B>Cc:</B> David Niemoller<BR><B>Subject:</B> Re: [Open-scap] Stubbed implementation of open-scap oval parsing.<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi David,<BR><BR>thnx. a lot for update. :)<BR><BR>there is one more thing we would like to change. Example:<BR><BR>oval_definitions.h<BR>struct oval_definition_s;<BR>char *oval_definition_id  (struct oval_definition_s*);<BR><BR>oval_definition.c<BR>char* oval_definition_id  (oval_definition_ptr definition) {<BR>        return ((oval_definition_ptr)definition)->id;<BR>}<BR><BR>--><BR><BR>oval_definitions.h<BR>struct oval_definition;<BR>char *oval_definition_id  (struct oval_definition*);<BR><BR>oval_definition.c<BR>char *oval_definition_id  (struct oval_definition* definition);<BR>        return definition->id;<BR>}<BR><BR><BR>Are you guys OK with that? We can take care of it.<BR><BR>Peter.<BR></FONT></P></DIV></BODY></HTML>