]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
Add complete_read(), an EINTR-proof and partial-read-proof read,
[ppp.git] / pppd / pppd.h
index 60ca8b54f230f56992e08ce1704042234fb758e3..75b344f0058c323211e7b4469154183bdf9282a5 100644 (file)
@@ -39,7 +39,7 @@
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: pppd.h,v 1.80 2003/03/03 05:11:46 paulus Exp $
+ * $Id: pppd.h,v 1.81 2003/03/30 08:26:56 paulus Exp $
  */
 
 /*
@@ -511,6 +511,8 @@ void pr_log __P((void *, char *, ...));     /* printer fn, output to syslog */
 void end_pr_log __P((void));   /* finish up after using pr_log */
 void dump_packet __P((const char *, u_char *, int));
                                /* dump packet to debug log if interesting */
+ssize_t complete_read __P((int, void *, size_t));
+                               /* read a complete buffer */
 
 /* Procedures exported from auth.c */
 void link_required __P((int));   /* we are starting to use the link */