summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.h
blob: 53f67fa4e2540a142f0bc6b9163d5ef47be146f1 (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.8 1997/10/26 01:02:23 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() */
OpenPOWER on IntegriCloud