~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to include/iobuf.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-11-03 09:18:26 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20061103091826-89kwl8tk1xypbmtk
Tags: upstream-1.4.5
ImportĀ upstreamĀ versionĀ 1.4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
int iobuf_translate_file_handle ( int fd, int for_write );
137
137
 
138
 
/* get a byte form the iobuf; must check for eof prior to this function
139
 
 * this function returns values in the range 0 .. 255 or -1 to indicate EOF
 
138
/* Get a byte form the iobuf; must check for eof prior to this function.
 
139
 * This function returns values in the range 0 .. 255 or -1 to indicate EOF
140
140
 * iobuf_get_noeof() does not return -1 to indicate EOF, but masks the
141
 
 * returned value to be in the range 0 ..255.
 
141
 * returned value to be in the range 0..255.
142
142
 */
143
143
#define iobuf_get(a)  \
144
144
     (  ((a)->nofast || (a)->d.start >= (a)->d.len )?  \