]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
export readable() from options.c so auth.c can use it
[ppp.git] / pppd / pppd.h
index 6924cb7d71f8ad72504281714fdf9afc33702d06..8029e400813d9f408aa108841e76c84fbe1fd2e5 100644 (file)
@@ -16,7 +16,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: pppd.h,v 1.23 1998/11/07 06:59:29 paulus Exp $
+ * $Id: pppd.h,v 1.25 1999/02/26 11:03:34 paulus Exp $
  */
 
 /*
@@ -370,6 +370,7 @@ int  getword __P((FILE *f, char *word, int *newlinep, char *filename));
                                /* 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 *));
@@ -390,7 +391,6 @@ extern struct option_info auth_req_info;
 extern struct option_info connector_info;
 extern struct option_info disconnector_info;
 extern struct option_info welcomer_info;
-extern struct option_info devnam_info;
 
 /*
  * Inline versions of get/put char/short/long.