From c975ca1063f85d77fb2dae10d8de7c991863c32e Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 29 May 2023 13:31:47 -0700 Subject: til_setup: hash til_setup_t.path Preparatory commit for deprecating til_module_context_t.path in favor of mandatory til_module_context_t.setup providing the settings-derived context path. Future commit will drop til_module_context_t.{path,path_hash} --- src/til_setup.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/til_setup.h') diff --git a/src/til_setup.h b/src/til_setup.h index 2d0facb..06ed4ea 100644 --- a/src/til_setup.h +++ b/src/til_setup.h @@ -1,11 +1,14 @@ #ifndef _TIL_SETUP_H #define _TIL_SETUP_H +#include + typedef struct til_settings_t til_settings_t; typedef struct til_setup_t til_setup_t; struct til_setup_t { const char *path; + uint32_t path_hash; unsigned refcount; void (*free)(til_setup_t *setup); }; -- cgit v1.2.1