summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/chat.h
blob: 4a53844c35cb5febe0a98b3d829953dfd18034d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *	    Written by Toshiharu OHNO (tony-o@iij.ad.jp)
 *
 *   Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
 *
 *  Most of codes are derived from chat.c by Karl Fox (karl@MorningStar.Com).
 *
 *	Chat -- a program for automatic session establishment (i.e. dial
 *		the phone and log in).
 *
 *	This software is in the public domain.
 *
 *	Please send all bug reports, requests for information, etc. to:
 *
 *		Karl Fox <karl@MorningStar.Com>
 *		Morning Star Technologies, Inc.
 *		1760 Zollinger Road
 *		Columbus, OH  43221
 *		(614)451-1883
 *
 * $Id: chat.h,v 1.1 1997/11/23 20:27:33 brian Exp $
 *
 */

#define	VECSIZE(v)	(sizeof(v) / sizeof(v[0]))

extern char *ExpandString(const char *, char *, int, int);
extern int MakeArgs(char *, char **, int);  /* Mangles the first arg ! */
extern int DoChat(char *);			/* passes arg to MakeArgs() */