/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Dial the DF02-AC or DF03-AC
*/
#include "tip.h"
static void timeout(void);
void df_disconnect(void);
int df_dialer(char *, char *, int);
int
{
}
int
{
}
/* ARGSUSED */
int
{
int f = FD;
int speed = 0;
char c = '\0';
(void) printf("connection timed out\r\n");
return (0);
}
(void) printf("\ndialing...");
#ifdef TIOCMSET
if (df03) {
/* clear ST for 300 baud */
} else
/* set ST for 1200 baud */
}
#endif
(void) sleep(1);
(void) read(f, &c, 1);
#ifdef TIOCMSET
}
#endif
return (c == 'A');
}
void
df_disconnect(void)
{
(void) sleep(1);
}
void
df_abort(void)
{
}
static void
timeout(void)
{
}