File:  [WindowsNT SDKs] / ntddk / src / network / streams / ex_bot.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    ex_bot.c

Abstract:

    This source file implements the bottom exit module for a subsystem-parallel
    (ie. non mp-safe) STREAMS stack that sits atop a FULL_PARALLEL module.

    All downstream messages that arrive at this module are queued up, to be
    serviced by our write service procedure, inswsrv().  Note that this
    module is declared to be FULL_PARALLEL.

--*/

#include "insulate.h"



//
//  Queue Information Structures
//  ----------------------------
//  Each queue has an minfo structure.
//
//  id          name        min     max     hi      lo
//
static
struct module_info minfo = {
    EXBOT_STID, EXBOT_NAME, 0,      INFPSZ, 0x7fff, 0x7fff,
};


//
//  Queue Initialization Templates
//  ------------------------------
//  put     service open    close   future  minfo   future  subsystem
//
static
struct qinit urinit = {
    putnext,NULL,   noopen, noclose,NULL,  &minfo,  NULL,   FULL_PARALLEL
};

static
struct qinit uwinit = {
    putq,   inswsrv,NULL,   NULL,   NULL,  &minfo,  NULL,   FULL_PARALLEL
};


//
//  Streamtab Entry
//  ---------------
//  upper queue pair    lower queue pair
//
struct streamtab exbotinfo = {
    &urinit, &uwinit,   NULL, NULL
};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.