|
|
1.1 ! root 1: /*********************************************************** ! 2: Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, ! 3: and the Massachusetts Institute of Technology, Cambridge, Massachusetts. ! 4: ! 5: All Rights Reserved ! 6: ! 7: Permission to use, copy, modify, and distribute this software and its ! 8: documentation for any purpose and without fee is hereby granted, ! 9: provided that the above copyright notice appear in all copies and that ! 10: both that copyright notice and this permission notice appear in ! 11: supporting documentation, and that the names of Digital or MIT not be ! 12: used in advertising or publicity pertaining to distribution of the ! 13: software without specific, written prior permission. ! 14: ! 15: DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 16: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 17: DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 18: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 19: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 20: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 21: SOFTWARE. ! 22: ! 23: ******************************************************************/ ! 24: /* $Header: initext.c,v 1.2 87/09/01 21:14:02 toddb Exp $ */ ! 25: ! 26: #include "X.h" ! 27: #define NEED_REPLIES ! 28: #include "Xproto.h" ! 29: #include "misc.h" ! 30: #include "extnsionst.h" ! 31: ! 32: extern ScreenProcEntry AuxillaryScreenProcs[]; ! 33: ! 34: void ! 35: InitExtensions() ! 36: { ! 37: int i; ! 38: ! 39: for (i=0; i<MAXSCREENS; i++) ! 40: AuxillaryScreenProcs[i].num = 0; ! 41: ! 42: #ifdef ZOID ! 43: ZoidExtensionInit(); ! 44: #endif ZOID ! 45: #ifdef BEZIER ! 46: BezierExtensionInit(); ! 47: #endif BEZIER ! 48: #ifdef OTHEREXTENSION ! 49: OtherExtensionInit(); ! 50: #endif OTHEREXTENSION ! 51: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.