*/
#ifndef lint
-static char rcsid[] = "$Id: options.c,v 1.45 1999/01/20 00:00:35 paulus Exp $";
+static char rcsid[] = "$Id: options.c,v 1.46 1999/02/26 11:03:34 paulus Exp $";
#endif
#include <ctype.h>
static option_t *find_option __P((char *name));
static int process_option __P((option_t *, char **));
static int n_arguments __P((option_t *));
-static int readable __P((int fd));
/*
* Valid arguments.
/*
* readable - check if a file is readable by the real user.
*/
-static int
+int
readable(fd)
int fd;
{
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: pppd.h,v 1.24 1999/01/20 00:01:00 paulus Exp $
+ * $Id: pppd.h,v 1.25 1999/02/26 11:03:34 paulus Exp $
*/
/*
/* Read a word from a file */
void option_error __P((char *fmt, ...));
/* Print an error message about an option */
+int readable __P((int fd)); /* Is fd readable by real user? */
int number_option __P((char *, u_int32_t *, int));
/* Parse a numerical option */
int int_option __P((char *, int *));