systems.h (7a6f872047b686aa10864866e8c80b7d591f4f45) systems.h (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 *
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 1997/11/22 03:37:51 brian Exp $
20 * $Id: systems.h,v 1.10.2.1 1998/02/02 19:32:15 brian Exp $
21 *
22 */
23
21 *
22 */
23
24extern int SelectSystem(struct bundle *bundle, const char *, const char *);
25extern int ValidSystem(const char *);
24struct prompt;
25
26extern int SelectSystem(struct bundle *bundle, const char *, const char *,
27 struct prompt *);
28extern int ValidSystem(const char *, struct prompt *);
26extern FILE *OpenSecret(const char *);
27extern void CloseSecret(FILE *);
28extern int AllowUsers(struct cmdargs const *);
29extern int AllowModes(struct cmdargs const *);
30extern int LoadCommand(struct cmdargs const *);
31extern int SaveCommand(struct cmdargs const *);
29extern FILE *OpenSecret(const char *);
30extern void CloseSecret(FILE *);
31extern int AllowUsers(struct cmdargs const *);
32extern int AllowModes(struct cmdargs const *);
33extern int LoadCommand(struct cmdargs const *);
34extern int SaveCommand(struct cmdargs const *);