<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 8:57 AM, Mohammed Murphy <span dir="ltr"><<a href="mailto:mohammed.murphy@tandberg.com">mohammed.murphy@tandberg.com</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 One of the points mentioned is that the use of utils.h<br>
(for C-written plugins) was encouraged (perhaps even expected). I was<br>
unable to locate this file anywhere (neither on the Nagios server<br>
instance I am running nor on the Nagios help pages,/documentation etc).<br>
So firstly, I was hoping that I could be directed to where I could get a<br>
copy of it.<br></blockquote><div><br>It's in the plugins source code --<br>/path/to/plugins-source/plugins/utils.h <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Secondly, I would like to know how a C application is supposed to link<br>
to it. Are we expected to use a static linking technique (i.e. copy and<br>
paste the utils.h/c source into our own C plugin and then compile)?</blockquote><div><br>Nobody does this that I've seen. Look at the source of the standard plugins. They all just '#include "utils.h"'.<br>
<br>--<br>Marc<br><br>
</div></div>