From 2fe787ba4db420f5b08573d77e35cfaa0d7a0793 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 4 Oct 2024 17:28:54 -0600 Subject: wip srv --- lib9p/internal.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'lib9p/internal.h') diff --git a/lib9p/internal.h b/lib9p/internal.h index cbec829..36a2647 100644 --- a/lib9p/internal.h +++ b/lib9p/internal.h @@ -7,7 +7,6 @@ #ifndef _LIB9P_INTERNAL_H_ #define _LIB9P_INTERNAL_H_ -#include #include /* for size_t */ #include /* for SSIZE_MAX */ @@ -30,21 +29,6 @@ static_assert(CONFIG_9P_MAX_ERR_SIZE + CONFIG_9P_MAX_MSG_SIZE + 2*CONFIG_9P_MAX_ #define CAT2(a, b) a##b #define CAT3(a, b, c) a##b##c -/* types **********************************************************************/ - -/* NB: We declare this here instead of in the public - * because we don't want to include "config.h" from public headers, - * and I want the MAX_ERR_SIZE to be configurable. */ -struct lib9p_ctx { - /* negotiated */ - enum lib9p_version version; - uint32_t max_msg_size; - - /* state */ - uint32_t err_num; - char err_msg[CONFIG_9P_MAX_ERR_SIZE]; -}; - /* vtables ********************************************************************/ struct _validate_ctx { -- cgit v1.2.3-2-g168b