Annotation of coherent/b/STREAMS/conf_79/mtune.h, revision 1.1

1.1     ! root        1: #ifndef        MTUNE_H
        !             2: #define        MTUNE_H
        !             3: 
        !             4: /*
        !             5:  *-IMPORTS:
        !             6:  *     <sys/compat.h>
        !             7:  *             CONST
        !             8:  *             EXTERN_C_BEGIN
        !             9:  *             EXTERN_C_END
        !            10:  *             PROTO ()
        !            11:  */
        !            12: 
        !            13: #include <sys/compat.h>
        !            14: 
        !            15: #ifndef        MTUNE_T
        !            16: #define        MTUNE_T
        !            17: typedef struct mtune   mtune_t;
        !            18: #endif
        !            19: 
        !            20: #ifndef        MTLIST_T
        !            21: #define        MTLIST_T
        !            22: typedef        struct mtlist   mtlist_t;
        !            23: #endif
        !            24: 
        !            25: #ifndef        SYMBOL_T
        !            26: #define        SYMBOL_T
        !            27: typedef struct symbol  symbol_t;
        !            28: #endif
        !            29: 
        !            30: #ifndef        STUNE_T
        !            31: #define        STUNE_T
        !            32: typedef        struct stune    stune_t;
        !            33: #endif
        !            34: 
        !            35: 
        !            36: /*
        !            37:  * Structure of an entry read in from the 'mtune' file.
        !            38:  */
        !            39: struct mtune {
        !            40:        mtune_t       * mt_next;        /* next entry on global list */
        !            41: 
        !            42:        symbol_t      * mt_name;        /* tunable parameter name */
        !            43:        long            mt_min;         /* minimum legal value */
        !            44:        long            mt_default;     /* default value */
        !            45:        long            mt_max;         /* maximum legal value */
        !            46: 
        !            47:        stune_t       * mt_stune;       /* if non-default value configured */
        !            48: };
        !            49: 
        !            50: 
        !            51: /*
        !            52:  * Structure for keeping a global list of all the entries read in.
        !            53:  */
        !            54: 
        !            55: struct mtlist {
        !            56:        mtune_t       * mtl_first;
        !            57:        mtune_t       * mtl_last;
        !            58: 
        !            59:        int             mtl_count;
        !            60: };
        !            61: 
        !            62: 
        !            63: enum {
        !            64:        MAX_PARAMNAME = 31
        !            65: };
        !            66: 
        !            67: 
        !            68: EXTERN_C_BEGIN
        !            69: 
        !            70: mtune_t              * find_mtune      PROTO ((symbol_t * _sym));
        !            71: mtune_t       *        mtunes          PROTO ((void));
        !            72: void           read_mtune_file PROTO ((CONST char * _name));
        !            73: 
        !            74: EXTERN_C_END
        !            75: 
        !            76: #endif /* ! defined (MTUNE_H) */

unix.superglobalmegacorp.com

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