xref: /freebsd/usr.sbin/ppp/systems.h (revision b6217683dc0269a53b799399522dbdfb5a4919cc)
1 /*
2  *			User Process PPP
3  *
4  *	    Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5  *
6  *   Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7  *
8  * Redistribution and use in source and binary forms are permitted
9  * provided that the above copyright notice and this paragraph are
10  * duplicated in all such forms and that any documentation,
11  * advertising materials, and other materials related to such
12  * distribution and use acknowledge that the software was developed
13  * by the Internet Initiative Japan, Inc.  The name of the
14  * IIJ may not be used to endorse or promote products derived
15  * from this software without specific prior written permission.
16  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19  *
20  * $Id: systems.h,v 1.10.2.1 1998/02/02 19:32:15 brian Exp $
21  *
22  */
23 
24 struct prompt;
25 
26 extern int SelectSystem(struct bundle *bundle, const char *, const char *,
27                         struct prompt *);
28 extern int ValidSystem(const char *, struct prompt *);
29 extern FILE *OpenSecret(const char *);
30 extern void CloseSecret(FILE *);
31 extern int AllowUsers(struct cmdargs const *);
32 extern int AllowModes(struct cmdargs const *);
33 extern int LoadCommand(struct cmdargs const *);
34 extern int SaveCommand(struct cmdargs const *);
35