[Top][All Lists]

[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 20:35:10 +0200

> > 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,

/* Initializing i to 1 */ 
i= 1;

If you need to find where a function is declared use grep or etag

reply via email to

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