/* ***************************************************************************** * * Copyright © 1996 Digital Equipment Corporation. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by Digital Equipment Corporation. The name of the * Corporation may not be used to endorse or promote products derived * from this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * ***************************************************************************** FACILITY: PPPD ABSTRACT: This module contains the prototypes, definitions, etc. that modules calling the dialout code need to function. This is part of the user interface to the Point to Point (PPPD) Utility. AUTHOR: Barry W. Kierstein 27-Jun-1996 REVISION HISTORY: X-3 BWK003 Barry W. Kierstein 17-Dec-1996 Replaced the standard Digital copyright with one compatible with the CMU copyright. X-2 BWK002 Barry W. Kierstein 24-Jul-1996 Corrected copyright notice. X-1 BWK001 Barry W. Kierstein 11-Jul-1996 Initial check in of this module. */ /* Dialout return statuses */ #define DIALOUT_STATUS_UNSPECIFIED 0 /* Uninit'ed */ #define DIALOUT_STATUS_OK 1 /* Normal AST processing */ #define DIALOUT_DISCONNECT_FROM_PORT 2 /* User wants to disconnect from port */ #define DIALOUT_SWITCH_TO_PPP 3 /* User wants to switch to PPP */ #define DIALOUT_MODEM_HANGUP 4 /* Modem hung up */ #define DIALOUT_ERROR_ABORT 5 /* Error in dialup */ /* Typedefs */ typedef unsigned long int DIALOUT_STATUS; /* Functions */ DIALOUT_STATUS dialout_main(DEVICE_REC *current_device, char break_char, char disconnect_char, char switch_char);