summaryrefslogtreecommitdiffstats
path: root/src/xspawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xspawn.h')
-rw-r--r--src/xspawn.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xspawn.h b/src/xspawn.h
index 77273ee..a20cbd0 100644
--- a/src/xspawn.h
+++ b/src/xspawn.h
@@ -62,6 +62,14 @@ int bfs_spawn_init(struct bfs_spawn *ctx);
int bfs_spawn_destroy(struct bfs_spawn *ctx);
/**
+ * Add an open() action to a bfs_spawn() context.
+ *
+ * @return
+ * 0 on success, -1 on failure.
+ */
+int bfs_spawn_addopen(struct bfs_spawn *ctx, int fd, const char *path, int flags, mode_t mode);
+
+/**
* Add a close() action to a bfs_spawn() context.
*
* @return