aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 5a512f3..651c803 100644
--- a/src/util.h
+++ b/src/util.h
@@ -9,9 +9,8 @@
int get_fd_path(pid_t pid, int fd, char procpath[PATH_MAX]);
int chdir_to_fd(pid_t pid, int fd, char procpath[PATH_MAX]);
-#define A_PROC_VM_BUFS const struct iovec liov[], unsigned long nl, const struct iovec riov[], unsigned long nr
-int tx_data(A_HANDLER_FD, A_HANDLER_REQ, A_PROC_VM_BUFS, int push);
+int tx_data(A_HANDLER_PROC, void *buf, uint64_t addr, size_t len, int push);
int check_pathname(char pathname[PATH_MAX]);
-int pull_pathname(A_HANDLER_FD, A_HANDLER_REQ, int argno, char pathname[PATH_MAX]);
+int pull_pathname(A_HANDLER_PROC, A_HANDLER_REQ, int argno, char pathname[PATH_MAX]);
void set_cloexec(int fd);