Date: Tue, 2 May 2000 13:20:21 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jeff Williams cc: djgpp AT delorie DOT com Subject: Re: how to implement a `hook'? In-Reply-To: <200005011645.LAA08102@darwin.sfbr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 1 May 2000, Jeff Williams wrote: > What does it mean to implement a `hook', e.g. to add a `hook' in > foo.c? Can someone point me to an instructive example from a > DJGPP port of a GNU package? Details, please. What kind of hook do you have in mind? If you are talking about the Filesystem Extensions (as would be my best guess), you can find a working example in Fileutils (file ls-msdos.c) and in Texinfo (file pcterm.c). The former shows how to extend output functionality, while the latter deals with input.