Data Structures for Drivers streamtab(9S)
NAME
streamtab - STREAMS entity declaration structure
SYNOPSIS
#include
INTERFACE LEVEL
Architecture independent level 1 (DI/DKI).
DESCRIPTION
Each STREAMS driver or module must have a streamtab struc-
ture.
streamtab is made up of qinit structures for both the read
and write queue portions of each module or driver. Multi-
plexing drivers require both upper and lower qinit struc-
tures. The qinit structure contains the entry points through
which the module or driver routines are called.
Normally, the read QUEUE contains the open and close rou-
tines. Both the read and write queue can contain put and
service procedures.
STRUCTURE MEMBERS
struct qinit *strdinit; /* read QUEUE */
struct qinit *stwrinit; /* write QUEUE */
struct qinit *stmuxrinit; /* lower read QUEUE*/
struct qinit *stmuxwinit; /* lower write QUEUE*/
SEE ALSO
qinit(9S)
STREAMS Programming Guide
SunOS 5.11 Last change: 11 Apr 1991 1
|