monit-general
[Top][All Lists]
Advanced

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

RE: toggle feature


From: rory
Subject: RE: toggle feature
Date: Sat, 28 Sep 2002 12:48:24 -0700 (PDT)

>> > 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.
>>
>> Actually, something simple minded in monitor.h like the below may be
>> just fine
>>
>> /* util.c */
>> void foo(int)
>> /* validate.c */
>> void validate()
>> /* etc... */
>
> No. Documentation on this form is kind of like,
>
You forgot:
/* Commenting */
> /* Initializing i to 1 */
> i= 1;
>
> If you need to find where a function is declared use grep or etag
>
>
> --
> To unsubscribe:
> http://mail.freesoftware.fsf.org/mailman/listinfo/monit-general







reply via email to

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