diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-08 19:19:48 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 08:34:59 -0600 |
commit | a1d87b8743845d6f0aa676536102320c1ad18386 (patch) | |
tree | 4a115198c69361e4563ccb0365f2c442333cf3e8 /lib9p/include | |
parent | ddd3f3982c6cdf8d7d0068e544cc9daf24355d32 (diff) |
lib9p: srv: Have message logging be pluggable
Diffstat (limited to 'lib9p/include')
-rw-r--r-- | lib9p/include/lib9p/srv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib9p/include/lib9p/srv.h b/lib9p/include/lib9p/srv.h index 7ad1b19..85fc6bd 100644 --- a/lib9p/include/lib9p/srv.h +++ b/lib9p/include/lib9p/srv.h @@ -138,6 +138,7 @@ struct lib9p_srv { /* Things you provide */ void /*TODO*/ (*auth )(struct lib9p_srv_ctx *, struct lib9p_s treename); /* optional */ lo_interface lib9p_srv_file (*rootdir)(struct lib9p_srv_ctx *, struct lib9p_s treename); + void (*msglog )(struct lib9p_srv_ctx *, enum lib9p_msg_type, void *hostmsg); /* optional */ /* For internal use */ BEGIN_PRIVATE(LIB9P_SRV_H); |