File:  [WindowsNT SDKs] / ntddk / src / network / streams / insulate.h
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:

    insulate.h

Abstract:

    This is the private (internal) header file for the insulator modules for
    subsystem-parallel STREAMS stacks.

    Note that the each module has to be customized for each subsystem-parallel
    stack: the subsystem id of each module has to be changed.

--*/
#ifndef _INSULATE_
#define _INSULATE_


//
// NT "System" Headers
//
#include    <ntddk.h>


//
// Regular STREAMS "System" Headers
//
#include    <sys/types.h>
#include    <stream.h>
#include    <stropts.h>
#include    <sysmacro.h>
#include    <errno.h>




//
// Private (internal) Constant Definitions
//
#define EXTOP_STID                      11          /* module id */
#define EXTOP_NAME                      "extop"     /* module name */

#define INSTOP_STID                     12          /* module id */
#define INSTOP_NAME                     "instop"    /* module name */

#define INSBOT_STID                     23          /* module id */
#define INSBOT_NAME                     "insbot"    /* module name */

#define EXBOT_STID                      24          /* module id */
#define EXBOT_NAME                      "exbot"     /* module name */

#define TCPIP_SUBSYSTEM_ID              32768


//
// Private (internal) Variables
//
extern struct streamtab exbotinfo;
extern struct streamtab extopinfo;
extern struct streamtab inbotinfo;
extern struct streamtab intopinfo;



//
// STREAMS Procedure Declarations
// ------------------------------
// A STREAMS module has an open and a close procedure.  Each module has two
// queues: a read queue and a write queue.  Each queue must have a put
// procedure, and may have a service procedure.
//
//
int
insrsrv(
    IN queue_t *rq
    );

int
inswsrv(
    IN queue_t *wq
    );

int
noclose(
    IN queue_t *rq,
    IN int      flag,
    IN void    *credp
    );

int
noopen(
    IN queue_t *rq,
    IN dev_t   *dev,
    IN int      flag,
    IN int      sflag,
    IN void    *credp
    );



#endif // _INSULATE_

unix.superglobalmegacorp.com

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