/***************************************************************************
 *                                                                         *
 *   SLISP.H                                                               *
 *                                                                         *
 *   Copyright (c) 1996-1997 Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   SLIP/CSLIP/PPP connection to an Internet Service Provider             *
 *                                                                         *
 *                                              - R. Stein  1/26/96        *
 *                                                                         *
 ***************************************************************************/

#ifndef __SLISP_H
#define __SLISP_H

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

                                   /*--- indexes of SLIP types          ---*/
#define NONIDX  -1                 /* none                                 */
#define SLPIDX   0                 /* plain SLIP                           */
#define CSLIDX   1                 /* VJ compressed SLIP                   */
#define PPPIDX   2                 /* PPP                                  */
#define NSTYPES  3                 /*--- total number of SLIP types     ---*/
                                   /* (above is cloned from SCP.H)         */

struct ispinfo {
     struct scrinf scrinf;         /* script session (must be first field) */
     CHAR whyend[80];              /* reason for end of session            */
};

#define ispptr       ((struct ispinfo *)vdaoff(ispunum))

#ifdef __cplusplus
}; // extern "C"
#endif // __cplusplus

#endif // __SLISP_H
