summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-23 09:47:19 +0300
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-23 09:47:19 +0300
commitbbe7f061891e4410423697cbc9d5f4ab19bcde16 (patch)
treea08ca94919b1d4e64916cae68ca9461bc1ccee84 /dive.h
parentbf33bf879faf08ef515be9c539e537a5d6df1f17 (diff)
downloadsubsurface-bbe7f061891e4410423697cbc9d5f4ab19bcde16.tar.gz
Add completions to the dive location, buddy and divemaster entries
This way you can just type the first few characters of a location you've been to before, and it will show you a list of possible completions. Same for buddies and divemasters (which take the completions from a list of people you've used before). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 824063bb4..7c64c21e2 100644
--- a/dive.h
+++ b/dive.h
@@ -260,6 +260,9 @@ extern void run_ui(void);
extern void report_error(GError* error);
extern void add_cylinder_description(cylinder_type_t *);
+extern void add_people(const char *string);
+extern void add_location(const char *string);
+
extern void dive_list_update_dives(void);
extern void flush_divelist(struct dive *dive);