diff options
Diffstat (limited to 'src/til_setup.h')
-rw-r--r-- | src/til_setup.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/til_setup.h b/src/til_setup.h index 8cc7a88..2d0facb 100644 --- a/src/til_setup.h +++ b/src/til_setup.h @@ -1,14 +1,16 @@ #ifndef _TIL_SETUP_H #define _TIL_SETUP_H +typedef struct til_settings_t til_settings_t; typedef struct til_setup_t til_setup_t; struct til_setup_t { + const char *path; unsigned refcount; void (*free)(til_setup_t *setup); }; -void * til_setup_new(size_t size, void (*free_func)(til_setup_t *setup)); +void * til_setup_new(const til_settings_t *settings, size_t size, void (*free_func)(til_setup_t *setup)); void * til_setup_ref(til_setup_t *setup); void * til_setup_free(til_setup_t *setup); |