/* * DISPAS.H * * $Id: dispas.h,v 1.1 1993/08/27 17:08:43 munro Exp $ * * Declare dispatcher routines for ordinary file i/o streams * */ /* Copyright (c) 1994. The Regents of the University of California. All rights reserved. */ #ifndef DISPAS_H #define DISPAS_H #include /* When input arrives for file, DispatchEvents will call the Dispatch method, unless this would cause a SIGTTIN signal. */ extern int AddFDispatcher(FILE *file, int (*Dispatch)(FILE *file, void *context), void *context); extern void RemoveFDispatcher(FILE *file); /* need dispat.h for DispatchEvents declaration */ #include "dispat.h" #endif