|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1991 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: ex_top.c ! 8: ! 9: Abstract: ! 10: ! 11: This source file implements the top exit module for a subsystem-parallel ! 12: (ie. non mp-safe) STREAMS stack that resides below either the stream ! 13: head or a FULL_PARALLEL module/driver. ! 14: ! 15: All upstream messages that arrive at this module are queued up, to be ! 16: serviced by our read service procedure, insrsrv(). Note that this ! 17: module is declared to be FULL_PARALLEL. ! 18: ! 19: --*/ ! 20: ! 21: #include "insulate.h" ! 22: ! 23: ! 24: ! 25: // ! 26: // Queue Information Structures ! 27: // ---------------------------- ! 28: // Each queue has an minfo structure. ! 29: // ! 30: // id name min max hi lo ! 31: // ! 32: static ! 33: struct module_info minfo = { ! 34: EXTOP_STID, EXTOP_NAME, 0, INFPSZ, 0x7fff, 0x7fff, ! 35: }; ! 36: ! 37: ! 38: // ! 39: // Queue Initialization Templates ! 40: // ------------------------------ ! 41: // put service open close future minfo future subsystem ! 42: // ! 43: static ! 44: struct qinit urinit = { ! 45: putq ,insrsrv,noopen, noclose,NULL, &minfo, NULL, FULL_PARALLEL ! 46: }; ! 47: ! 48: static ! 49: struct qinit uwinit = { ! 50: putnext,NULL, NULL, NULL, NULL, &minfo, NULL, FULL_PARALLEL ! 51: }; ! 52: ! 53: ! 54: // ! 55: // Streamtab Entry ! 56: // --------------- ! 57: // upper queue pair lower queue pair ! 58: // ! 59: struct streamtab extopinfo = { ! 60: &urinit, &uwinit, NULL, NULL ! 61: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.