]> git.ozlabs.org Git - ccan/blobdiff - ccan/failtest/failtest_proto.h
tdb2: tdb_foreach()
[ccan] / ccan / failtest / failtest_proto.h
index 58337301ee223858ba903210ef586cd4c505c832..d4967a3e51f8573d3136a9ed9f7ecd0c2f006d0a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_PROTO_H
 #define CCAN_FAILTEST_PROTO_H
 #include <stdlib.h>
@@ -20,6 +21,7 @@ ssize_t failtest_pread(int fd, void *buf, size_t count, off_t offset,
                       const char *file, unsigned line);
 ssize_t failtest_pwrite(int fd, const void *buf, size_t count, off_t offset,
                        const char *file, unsigned line);
-int failtest_close(int fd);
+int failtest_close(int fd, const char *file, unsigned line);
 int failtest_fcntl(int fd, const char *file, unsigned line, int cmd, ...);
+pid_t failtest_getpid(const char *file, unsigned line);
 #endif /* CCAN_FAILTEST_PROTO_H */