diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 08:43:15 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 08:43:15 -0600 |
commit | 52674d0483e3754b039857be1d11798859c5bcef (patch) | |
tree | 3047d310b60032a6861776eb37175551db59c0ca /lib9p/include | |
parent | ddd3f3982c6cdf8d7d0068e544cc9daf24355d32 (diff) | |
parent | a780f6fe756b1a1051d5197d81366f21c42a316b (diff) |
Merge branch 'lukeshu/9p-tests'
Diffstat (limited to 'lib9p/include')
-rw-r--r-- | lib9p/include/lib9p/9p.generated.h | 6 | ||||
-rw-r--r-- | lib9p/include/lib9p/srv.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib9p/include/lib9p/9p.generated.h b/lib9p/include/lib9p/9p.generated.h index afd89ed..a53f117 100644 --- a/lib9p/include/lib9p/9p.generated.h +++ b/lib9p/include/lib9p/9p.generated.h @@ -975,9 +975,9 @@ LO_IMPLEMENTATION_H(fmt_formatter, struct lib9p_msg_Topenfd, lib9p_msg_Topenfd); /* LIB9P_VER_9P2000_u : min_size = 13 ; exp_size = 40 ; max_size = 65,548 ; max_iov = 3 ; max_copy = 13 */ struct lib9p_msg_Rerror { lib9p_tag_t tag; - struct lib9p_s ename; + struct lib9p_s errstr; #if CONFIG_9P_ENABLE_9P2000_u - lib9p_errno_t errno; + lib9p_errno_t errnum; #endif /* CONFIG_9P_ENABLE_9P2000_u */ }; LO_IMPLEMENTATION_H(fmt_formatter, struct lib9p_msg_Rerror, lib9p_msg_Rerror); @@ -987,7 +987,7 @@ LO_IMPLEMENTATION_H(fmt_formatter, struct lib9p_msg_Rerror, lib9p_msg_Rerror); /* size = 11 ; max_iov = 1 ; max_copy = 11 */ struct lib9p_msg_Rlerror { lib9p_tag_t tag; - lib9p_errno_t ecode; + lib9p_errno_t errnum; }; LO_IMPLEMENTATION_H(fmt_formatter, struct lib9p_msg_Rlerror, lib9p_msg_Rlerror); 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); |