xref: /freebsd/usr.sbin/ppp/systems.h (revision dd7e261079699ca066fd8acaaf3ed460e5de61a1)
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.4 1998/04/10 13:19:22 brian Exp $
21  *
22  */
23 
24 struct prompt;
25 struct bundle;
26 struct cmdargs;
27 
28 extern int system_Select(struct bundle *bundle, const char *, const char *,
29                         struct prompt *);
30 extern int system_IsValid(const char *, struct prompt *, int);
31 extern FILE *OpenSecret(const char *);
32 extern void CloseSecret(FILE *);
33 extern int AllowUsers(struct cmdargs const *);
34 extern int AllowModes(struct cmdargs const *);
35 extern int LoadCommand(struct cmdargs const *);
36 extern int SaveCommand(struct cmdargs const *);
37 extern const char *mode2Nam(int);
38