diff options
Diffstat (limited to 'src/til_module_context.h')
-rw-r--r-- | src/til_module_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/til_module_context.h b/src/til_module_context.h index d017a99..b2caf28 100644 --- a/src/til_module_context.h +++ b/src/til_module_context.h @@ -1,6 +1,8 @@ #ifndef _TIL_MODULE_CONTEXT_H #define _TIL_MODULE_CONTEXT_H +#include <stdint.h> + typedef struct til_module_context_t til_module_context_t; typedef struct til_module_t til_module_t; @@ -10,6 +12,7 @@ struct til_module_context_t { unsigned ticks; unsigned n_cpus; char *path; /* for locating this instance of the module, NOT a file path */ + uint32_t path_hash; }; void * til_module_context_new(size_t size, unsigned seed, unsigned ticks, unsigned n_cpus, char *path); |