gui: Use variable-sized input buffer for the audiod pipe.
[paraslash.git] / fd.h
diff --git a/fd.h b/fd.h
index 7c364120a7d3a052c8b67b6867f7da8589aebee2..a21cd9f2caeae59a8d2e12a294777f38c738d506 100644 (file)
--- a/fd.h
+++ b/fd.h
@@ -28,3 +28,5 @@ int write_ok(int fd);
 void valid_fd_012(void);
 int write_nonblock(int fd, const char *buf, size_t len,
                size_t max_bytes_per_write);
+int for_each_file_in_dir(const char *dirname,
+               int (*func)(const char *, void *), void *private_data);