monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: toggle feature


From: Jan-Henrik Haukeland
Subject: RE: toggle feature
Date: Sat, 28 Sep 2002 03:32:45 +0200

> Any objections to making this consistent, and having the flag set no
> matter what the state of the process?

Absolutely not :) Just skip the if process is running test.

> I also have another question. It would be probably useful if monitor.h
> had comments to say which functions belonged to which files. However,
> does doxygen or some other automated tool do this?

Only indirectly. I sort of like the idea that monitor.h has the interface
(prototype) for most functions, since this header file should be included in
most of the source files. On the other hand it's as you say not clear what
source file the prototypes are for. Maybe for most of the source files we
should create a corresponding interface (header file), like we have done with
net.h and several others. At least good candidates for getting their own header
files are control.c, files.c and util.c.

Jan-Henrik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]