diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-12-02 00:00:12 +0100 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-12-02 00:00:12 +0100 |
| commit | f982fb95044581435e31c765487b45d5ee963519 (patch) | |
| tree | 5bc5a4e47612959e00464d0f77bc622a841770d3 /index.h | |
| parent | 262c4593ac6df668ed4d4d899c68a256fb237214 (diff) | |
| download | arfnet2-search-f982fb95044581435e31c765487b45d5ee963519.tar.gz arfnet2-search-f982fb95044581435e31c765487b45d5ee963519.zip | |
search actually working :D
Diffstat (limited to 'index.h')
| -rw-r--r-- | index.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,7 @@ typedef enum { } lookup_type_t; typedef struct { - char *name; + const char *name, *path; struct stat stat; const char *mime; } node_data_t; @@ -50,6 +50,7 @@ void index_deinit(); index_t index_new(size_t icapacity, const char *root, int examine); results_t *index_lookup(index_t index, lookup_type_t type, const char *query); void index_destroy(index_t index); +void results_destroy(results_t *results); #endif /* _INDEX_H */ |
