[PATCH 1/3] IOBUF: Document meaning of bits in the nofast field

Florian Weimer fweimer at bfk.de
Mon Sep 25 11:54:22 CEST 2006


---
 include/iobuf.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/iobuf.h b/include/iobuf.h
index 0e3584c..4df9ab7 100644
--- a/include/iobuf.h
+++ b/include/iobuf.h
@@ -44,6 +44,8 @@ struct iobuf_struct {
     off_t nbytes;      /* used together with nlimit */
     off_t ntotal;      /* total bytes read (position of stream) */
     int nofast; 	/* used by the iobuf_get() */
+                        /* bit 0 (LSB): slow path because of limit */
+                        /* bit 1:       slow path because of unread */
     void *directfp;
     struct {
 	size_t size;   /* allocated size */
-- 
1.4.2.1





More information about the Gnupg-devel mailing list