Annotation of gcl520h/nasi.h, revision 1.1.1.1

1.1       root        1: #if !defined( NASI_DOT_H )
                      2: #define NASI_DOT_H
                      3: 
                      4: /*
                      5:  * NASI.H       5.20A  June 8, 1995
                      6:  *
                      7:  * The Greenleaf Comm Library
                      8:  *
                      9:  * Copyright (C) 1985-1995 Greenleaf Software Inc.  All Rights Reserved.
                     10:  *
                     11:  * NOTES
                     12:  *
                     13:  *  This include file contains the definitions for the Level 1
                     14:  *  functions you might want to use when writing an application
                     15:  *  that uses Novell's NASI services.  Note that using Greenleaf's
                     16:  *  version of NASI support doesn't require that you purchase the
                     17:  *  NASI SDK.  However, NASI won't do you any good unless you have
                     18:  *  a Novell network and a server running NCS.
                     19:  *
                     20:  * MODIFICATIONS
                     21:  *
                     22:  * June 8, 1995  5.20A : Initial release
                     23:  *
                     24:  */
                     25: 
                     26: /*
                     27:  * Not running vanilla DOS or Windows?  Forget NASI then!
                     28:  */
                     29: 
                     30: #if !defined( GF_X16 ) && !defined( GF_X32 ) && !defined( GF_WIN32 )
                     31: 
                     32: /*
                     33:  * This is the data structure used to handle the get first/get next
                     34:  * queries.  The buf[] element is what gets passed to NASI.  Upon
                     35:  * return, the nice names are sorted out of buf and stored in the other
                     36:  * character arrays.
                     37:  */
                     38: 
                     39: typedef struct {
                     40:     short int vc;
                     41:     char buf[ 34 ];
                     42:     char Server[ 9 ];
                     43:     char GeneralPort[ 9 ];
                     44:     char SpecificPort[ 15 ];
                     45:     int NcsPortNumber;
                     46:     int PortStatus;
                     47: } NASI_QUERY;
                     48: 
                     49: #ifdef __cplusplus
                     50: extern "C" {
                     51: #endif
                     52: 
                     53: int GF_CONV NasiLoaded( void );
                     54: int GF_CONV NasiQueryFirstPort( NASI_QUERY GF_DLL_FAR *q );
                     55: int GF_CONV NasiQueryNextPort( NASI_QUERY GF_DLL_FAR *q );
                     56: void GF_CONV NasiCloseQuery( NASI_QUERY GF_DLL_FAR *q );
                     57: int GF_CONV NasiSetSession( char GF_DLL_FAR *name,
                     58:                             char GF_DLL_FAR *password,
                     59:                             char GF_DLL_FAR *session_name,
                     60:                             int global );
                     61: int GF_CONV NasiGetSession( char GF_DLL_FAR *session );
                     62: 
                     63: #ifdef __cplusplus
                     64: };
                     65: #endif
                     66: 
                     67: #endif  /* #if !defined( GF_X16 ) && !defined( GF_X32 ) && !defined( GF_WIN32 ) */
                     68: 
                     69: #endif /* #if !defined( NASI_DOT_H )  */
                     70: 

unix.superglobalmegacorp.com

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