summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index f1f52f4..8ac4859 100644
--- a/utils.h
+++ b/utils.h
@@ -6,6 +6,9 @@
#define LOG(fmt, args ...) \
fprintf(stderr, ">>> UDTRACE: " fmt, ## args)
+/* find the state corresponding to a given file descriptor */
+struct sock_state *udtrace_sstate_by_fd(int fd);
+
/* add a file descriptor from the list of to-be-traced ones */
void udtrace_add_fd(int fd);
personal git repositories of Harald Welte. Your mileage may vary