<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE : [Nagios-users] Multiple inheritance</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Look at the xodtemplate_add_object_property function in xdata/xodtemplate.c. After reading it, if you still want to create a patch, good luck !</FONT></P>
<P><FONT SIZE=2>The easiest way would certainly be to replace the 'template' field in each 'xodtemplate_xxx' struct with an array of templates. Then, you have to modify every 'xodtemplate_resolve_xxx' functions.</FONT></P>
<BR>
<P><FONT SIZE=2>> I want to have multiple 'use' statements in one objest entry </FONT>
<BR><FONT SIZE=2>> which derives the </FONT>
<BR><FONT SIZE=2>> object from both (Allowing an inheritence tree instead of a straight </FONT>
<BR><FONT SIZE=2>> lineage).</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Evidently that capabilttiy doesn't exist though. Can anyone </FONT>
<BR><FONT SIZE=2>> tell me where in </FONT>
<BR><FONT SIZE=2>> the source I should look to try and patch this?</FONT>
</P>
</BODY>
</HTML>