diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-10-31 19:06:30 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-10-31 19:06:30 +0700 |
commit | 6424fba52d31b51a7875114c9a8906266810e56e (patch) | |
tree | 9049e70d061c9c99321c7c5c3b44fe9bd2e75994 /utils.h | |
parent | 642b9e483b99e483bd5b3bdb44e14391226ee920 (diff) |
utils.c: use udtrace_sstate_by_fd()
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |