/* This file is part of the Project Athena Zephyr Notification System. * It is one of the source files comprising zwgc, the Zephyr WindowGram * client. * * Created by: Marc Horowitz * * $Id$ * * Copyright (c) 1989 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file * "mit-copyright.h". */ #include #ifndef mux_MODULE #define mux_MODULE /* * MAX_SOURCES - the greatest file descriptor # that can be waited on minus one * This can not exceed FD_SETSIZE from . */ #define MAX_SOURCES 32 /* * mux_end_loop_p - Setting this to true during a mux_loop causes the mux_loop * to be exited. */ extern int mux_end_loop_p; /* * void mux_init() * Requires: mux_init has never been called before * Effects: Initializes the mux module. Must be called before * any other mux call. */ extern void mux_init(void); /* * void mux_add_input_source(int descriptior; void (*handler)(); void *arg) * Requires: 0<=descriptor