]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add k5-input.h
authorGreg Hudson <ghudson@mit.edu>
Mon, 5 May 2014 04:05:54 +0000 (00:05 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 17 May 2014 22:45:28 +0000 (18:45 -0400)
commit1263ed281d1f50b97399137b90344a75e991129c
treefeb4727ef0c420e2b5438ba838310625421410f5
parentccd989bdc2656b153bc226462e0c13800810ae04
Add k5-input.h

Add a header containing a declaration for struct k5input and static
inline functions to use it.  A k5input structure can be used to safely
extract bytes and integers from a fixed-sized input buffer without
overrunning the buffer.  It supports deferred error checking (similar
to k5buf) by returning dummy values and storing a status value in the
input structure.
src/include/k5-input.h [new file with mode: 0644]