Annotation of gcl520h/modema.h, revision 1.1

1.1     ! root        1: #ifndef _MODEMA_DOT_H
        !             2: #define _MODEMA_DOT_H
        !             3: 
        !             4: /*
        !             5:  * MODEMA.H            5.20A  June 8, 1995
        !             6:  *
        !             7:  *  The Greenleaf Comm Library
        !             8:  *
        !             9:  *  Copyright (C) 1994-1995 Greenleaf Software Inc.  All Rights Reserved.
        !            10:  *
        !            11:  * NOTES
        !            12:  *
        !            13:  * This header file contains the definitions needed to use the Level 1
        !            14:  * Modem Assist functions.  Note that you can redefine the port count
        !            15:  * macro here, then rebuild MODEMA_?.C to up the port count.  Most
        !            16:  * systems won't have anything close to 16 ports, so the odds are that
        !            17:  * you won't ever have to do this.
        !            18:  *
        !            19:  * MODIFICATIONS
        !            20:  *
        !            21:  *
        !            22:  */
        !            23: 
        !            24: #define MODEM_ASSIST_PORT_COUNT 16
        !            25: 
        !            26: /*
        !            27:  * This is the structure used by Modem Assist in the Query Service Names
        !            28:  * functions. Note that the character arrays are *not* null terminated
        !            29:  * by the Modem Assist functions.
        !            30:  */
        !            31: 
        !            32: struct service_names {
        !            33:     short int length;
        !            34:     char server[ 16 ];
        !            35:     char group[ 16 ];
        !            36:     char line[ 16 ];
        !            37:     short int status;
        !            38: };
        !            39: 
        !            40: /*
        !            41:  * Level 1 functions to help using Modem Assist.
        !            42:  */
        !            43: 
        !            44: #ifdef __cplusplus
        !            45: extern "C" {
        !            46: #endif
        !            47: 
        !            48: int GF_CONV SetModemAssistLineName( int port_number, char *name );
        !            49: char * GF_CONV GetModemAssistLineName( int port_number );
        !            50: int GF_CONV ModemAssistGetFirstServiceName( struct service_names *buffer );
        !            51: int GF_CONV ModemAssistGetNextServiceName( struct service_names *buffer );
        !            52: int GF_CONV ModemAssistPresent( void );
        !            53: int GF_CONV ModemAssistPortAvailable( int port_number );
        !            54: int GF_CONV ScanModemAssistNames( void );
        !            55: 
        !            56: #ifdef __cplusplus
        !            57: }
        !            58: #endif
        !            59: 
        !            60: #endif /* #ifndef _MODEMA_DOT_H */
        !            61: 

unix.superglobalmegacorp.com

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