]> wimlib.net Git - wimlib/blobdiff - include/wimlib/file_io.h
lz_sarray_update_salink(): Only take rank and link array as input
[wimlib] / include / wimlib / file_io.h
index de59cfa07d8b9be48d0a1efcb123c1b5f1723c91..01f971783d28e7408c52a535c2f667cafa69e8db 100644 (file)
@@ -3,7 +3,11 @@
 
 #include <stddef.h>
 #include <sys/types.h>
+#include <stdbool.h>
 
+/* Wrapper around a file descriptor that keeps track of offset (including in
+ * pipes, which don't support lseek()) and a cached flag that tells whether the
+ * file descriptor is a pipe or not.  */
 struct filedes {
        int fd;
        unsigned int is_pipe : 1;