summaryrefslogtreecommitdiff
path: root/src/til_setup.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-29 13:31:47 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-30 08:30:55 -0700
commitc975ca1063f85d77fb2dae10d8de7c991863c32e (patch)
tree3b5eaeea922aee9248521952708014ec01847276 /src/til_setup.h
parentb9acfa6ab04d05d9ad34f3e203bfc498a1bf2f11 (diff)
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}
Diffstat (limited to 'src/til_setup.h')
-rw-r--r--src/til_setup.h3
1 files changed, 3 insertions, 0 deletions
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 <stdint.h>
+
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);
};
© All Rights Reserved