home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright 1989, 1990, John F. Haugh II
- * All rights reserved.
- *
- * Use, duplication, and disclosure prohibited without
- * the express written permission of the author.
- */
-
- /*
- * Structure of d_passwd file
- *
- * The d_passwd file contains the names of login shells which require
- * dialup passwords. Each line contains the fully qualified path name
- * for the shell, followed by an optional password. Each field is
- * separated by a ':'.
- *
- * Structure of the dialups file
- *
- * The dialups file contains the names of ports which may be dialup
- * lines. Each line consists of the last component of the path
- * name. Any leading directory names are removed.
- *
- * @(#)dialup.h 2.2 19:23:40 7/29/90
- */
-
- struct dialup {
- char *du_shell;
- char *du_passwd;
- };
-
- void setduent ();
- void endduent ();
- struct dialup *getduent ();
- struct dialup *getdushell ();
-
- #define DIALPWD "/etc/d_passwd"
- #define DIALUPS "/etc/dialups"
-