systems.h revision 58045
1110940Strhodes/* 2110940Strhodes * User Process PPP 3110940Strhodes * 4110940Strhodes * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5110940Strhodes * 6110940Strhodes * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 7110940Strhodes * 8110940Strhodes * Redistribution and use in source and binary forms are permitted 9110940Strhodes * provided that the above copyright notice and this paragraph are 10110940Strhodes * duplicated in all such forms and that any documentation, 11291557Skevlo * advertising materials, and other materials related to such 12110940Strhodes * distribution and use acknowledge that the software was developed 13110940Strhodes * by the Internet Initiative Japan, Inc. The name of the 14110940Strhodes * IIJ may not be used to endorse or promote products derived 15110940Strhodes * from this software without specific prior written permission. 16110940Strhodes * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17110940Strhodes * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18110940Strhodes * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19110940Strhodes * 20110940Strhodes * $FreeBSD: head/usr.sbin/ppp/systems.h 58045 2000-03-14 01:47:31Z brian $ 21110940Strhodes * 22110940Strhodes */ 23110940Strhodes 24110940Strhodesstruct prompt; 25110940Strhodesstruct datalink; 26110940Strhodesstruct bundle; 27110940Strhodesstruct cmdargs; 28110940Strhodes 29110940Strhodesextern int system_Select(struct bundle *bundle, const char *, const char *, 30110940Strhodes struct prompt *, struct datalink *); 31110940Strhodesextern const char *system_IsValid(const char *, struct prompt *, int); 32110940Strhodesextern FILE *OpenSecret(const char *); 33110940Strhodesextern void CloseSecret(FILE *); 34110940Strhodesextern int AllowUsers(struct cmdargs const *); 35110940Strhodesextern int AllowModes(struct cmdargs const *); 36110940Strhodesextern int LoadCommand(struct cmdargs const *); 37110940Strhodesextern int SaveCommand(struct cmdargs const *); 38110940Strhodesextern const char *InterpretArg(const char *, char *); 39110940Strhodes