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/9p.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib9p/9p.c') diff --git a/lib9p/9p.c b/lib9p/9p.c index fffef31..0ab940c 100644 --- a/lib9p/9p.c +++ b/lib9p/9p.c @@ -13,21 +13,6 @@ #include "internal.h" -enum lib9p_version lib9p_ctx_version(struct lib9p_ctx *ctx) { - assert(ctx); - return ctx->version; -} - -uint32_t lib9p_ctx_max_msg_size(struct lib9p_ctx *ctx) { - assert(ctx); - return ctx->max_msg_size; -} - -bool lib9p_ctx_has_error(struct lib9p_ctx *ctx) { - assert(ctx); - return ctx->err_num || ctx->err_msg[0]; -} - int lib9p_error(struct lib9p_ctx *ctx, uint32_t linux_errno, char const *msg) { strncpy(ctx->err_msg, msg, sizeof(ctx->err_msg)); ctx->err_msg[sizeof(ctx->err_msg)-1] = '\0'; -- cgit v1.2.3-2-g168b