systems.h revision 50479
17768Sache/* 27768Sache * User Process PPP 37768Sache * 4939Snate * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5939Snate * 6939Snate * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 7939Snate * 8939Snate * Redistribution and use in source and binary forms are permitted 9939Snate * provided that the above copyright notice and this paragraph are 10939Snate * duplicated in all such forms and that any documentation, 11939Snate * advertising materials, and other materials related to such 12939Snate * distribution and use acknowledge that the software was developed 13939Snate * by the Internet Initiative Japan, Inc. The name of the 14939Snate * IIJ may not be used to endorse or promote products derived 15939Snate * from this software without specific prior written permission. 16939Snate * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17939Snate * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18939Snate * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19939Snate * 20939Snate * $FreeBSD: head/usr.sbin/ppp/systems.h 50479 1999-08-28 01:35:59Z peter $ 21939Snate * 22939Snate */ 23939Snate 24939Snatestruct prompt; 25939Snatestruct datalink; 26939Snatestruct bundle; 27939Snatestruct cmdargs; 28939Snate 29939Snateextern int system_Select(struct bundle *bundle, const char *, const char *, 30939Snate struct prompt *, struct datalink *); 31939Snateextern const char *system_IsValid(const char *, struct prompt *, int); 327768Sacheextern FILE *OpenSecret(const char *); 33939Snateextern void CloseSecret(FILE *); 34939Snateextern int AllowUsers(struct cmdargs const *); 35939Snateextern int AllowModes(struct cmdargs const *); 367768Sacheextern int LoadCommand(struct cmdargs const *); 37939Snateextern int SaveCommand(struct cmdargs const *); 38939Snate