4.5  WindNet STREAMS Header Files

The WindNet STREAMS for Tornado component release ships with the STREAMS header files necessary to compile STREAMS applications located in the directories /usr/vw/h/streams and /usr/vw/h. The directory /usr/vw/h/streams contains files that are name-compatible with other STREAMS implementations, as well as files specific to WindNet STREAMS operation. The directory /usr/vw/h contains a single file, strmLib.h. The following lists of files are those most useful for porting STREAMS components to WindNet STREAMS.


*   

NOTE: In order to avoid possible confusion caused by the inclusion of any like-named header files from different Tornado components--for instance the stream.h file from the Wind foundation Classes--use only header files found in /usr/vw/h/streams when workng with WindNet STREAMS, except for strmLib.h which resides in /usr/vw/h.

  • The file h/strmLib.h defines WindNet STREAMS-specific routine prototypes and constants. Furthermore, it includes files in the directory h/streams/ used by most STREAMS applications executing under WindNet STREAMS.

  • The following files are functionally compatible with all SVR4 files with the same name. Existing applications that include any of these files need only to change the path to the file location in order to compile successfully under WindNet STREAMS.

  • h/streams/cmn_err.h

  • h/streams/cred.h

  • h/streams/ddi.h

  • h/streams/dlpi.h

  • h/streams/poll.h

  • h/streams/sad.h

  • h/streams/stream.h

  • h/streams/strlog.h

  • h/streams/stropts.h

  • h/streams/strstat.h

  • The following files are necessary to compile applications that use the Transport Library Interface (TLI). These files are functionally compatible with files provided by SVR4.

  • h/streams/tihdr.h

  • h/streams/timod.h

  • h/streams/tiuser.h

  • h/streams/xti.h

  • The following files are necessary to compile applications that use the STREAMS-based socket library. These files are functionally compatible with files provided by SVR4.

  • h/streams/sockio.h

  • h/streams/sockmod.h

  • h/streams/sockuser.h

  • The file h/streams/sysmacros.h contains macros which are compatible with SVR4 macros used to manipulate major and minor device numbers.