Annotation of ntddk/src/network/streams/in_strm.c, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1991  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     in_strm.c
                      8: 
                      9: Abstract:
                     10: 
                     11:     This source file contains the STREAMS procedures common to all the
                     12:     insulating modules.
                     13: 
                     14: --*/
                     15: 
                     16: #include "insulate.h"
                     17: 
                     18: 
                     19: 
                     20: 
                     21: int
                     22: noclose(
                     23:     IN queue_t *rq,
                     24:     IN int      flag,
                     25:     IN void    *credp
                     26:     )
                     27: 
                     28: /*++
                     29: 
                     30: Routine Description:
                     31: 
                     32:     This is a STREAMS module's close procedure.  STREAMS probably requires
                     33:     that every module have one.
                     34: 
                     35: Arguments:
                     36: 
                     37:     rq      -  the read queue of the stream being closed.
                     38:     flag    -  open(2) flag
                     39: 
                     40: Return Value:
                     41: 
                     42:     0 if successful, or the errno otherwise.
                     43: 
                     44: --*/
                     45: 
                     46: {
                     47:     return(0);
                     48: 
                     49: } // noclose
                     50: 
                     51: 
                     52: 
                     53: int
                     54: noopen(
                     55:     IN queue_t *rq,
                     56:     IN dev_t   *dev,
                     57:     IN int      flag,
                     58:     IN int      sflag,
                     59:     IN void    *credp
                     60:     )
                     61: 
                     62: /*++
                     63: 
                     64: Routine Description:
                     65: 
                     66:     This is a STREAMS module's open procedure.  STREAMS probably requires
                     67:     that every module have one.
                     68: 
                     69: Arguments:
                     70: 
                     71:     rq      -  read queue of the stream being opened.
                     72:     dev     -  device number of this driver
                     73:     flag    -  open(2) flag
                     74:     sflag   -  CLONEOPEN or 0
                     75: 
                     76: Return Value:
                     77: 
                     78:     0 if successful, or the errno otherwise.
                     79: 
                     80: --*/
                     81: 
                     82: {
                     83:     return(0);
                     84: 
                     85: } // noopen

unix.superglobalmegacorp.com

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