Annotation of coherent/f/usr/include/dump.h, revision 1.1.1.1

1.1       root        1: #ifndef        __DUMP_H__
                      2: #define        __DUMP_H__
                      3: 
                      4: /*
                      5:  * Information for the DUMP module.
                      6:  *
                      7:  * This header and the dump module itself are taken from the code printed in
                      8:  * the STREAMS Programmer's Guide for System V Release 4 Multiprocessor, with
                      9:  * some minor editing to reflect local coding standards.
                     10:  */
                     11: 
                     12: enum {
                     13:        DUMPIOC         = ('Q' << 8),
                     14: 
                     15:        DUMP_VERB       = DUMPIOC | 1,
                     16:        DUMP_TERSE      = DUMPIOC | 2
                     17: };
                     18: 
                     19: #if    _DDI_DKI
                     20: 
                     21: /*
                     22:  * Kernel-level information.
                     23:  */
                     24: 
                     25: 
                     26: typedef enum {
                     27:        D_FREE          = 0,            /* Dump slot free */
                     28:        D_USED          = 1             /* dump slot in use */
                     29: } dm_use_t;
                     30: 
                     31: typedef enum {
                     32:        D_NONE          = 0,            /* Nothing happening */
                     33:        D_OUT           = 1,            /* Outgoing data */
                     34:        D_IN            = 2             /* Incoming data */
                     35: } dm_dir_t;
                     36: 
                     37: enum {
                     38:        D_VERB          = 0x01          /* Verbose option on */
                     39: };
                     40: 
                     41: struct dm_str {
                     42:        dm_use_t        dm_use;         /* is slot in use */
                     43:        dm_dir_t        dm_dir;         /* last data direction */
                     44:        unsigned char   dm_flags;
                     45: };
                     46: 
                     47: 
                     48: extern int             dm_ucnt;        /* count of dm_users */
                     49: extern         struct dm_str   dm_users [];    /* 1 dm_str per user */
                     50: 
                     51: #endif
                     52: 
                     53: #endif /* ! defined (__DUMP_H__) */

unix.superglobalmegacorp.com

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