diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-16 22:26:47 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-01 10:21:44 -0800 |
commit | d3f6e032cc25f9360049f9821cb4b9f055b28feb (patch) | |
tree | 49b5f777dd6c018e4c82c514050f39d0c46de1a9 /core/dive.h | |
parent | 6434ad262887a473abd410fd8011bba1291663d6 (diff) | |
download | subsurface-d3f6e032cc25f9360049f9821cb4b9f055b28feb.tar.gz |
filter: index/unindex dives on loading or clearing logs
When loading dive data, populate the fulltext index. When clearing
dive data, free the fulltext index. When deleting a dive, remove it
from the fulltext index.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h index 345eb5073..a57021976 100644 --- a/core/dive.h +++ b/core/dive.h @@ -140,6 +140,7 @@ struct dive_site; struct dive_site_table; struct dive_trip; struct trip_table; +struct full_text_cache; struct dive { struct dive_trip *divetrip; timestamp_t when; |