diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-30 20:54:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-30 20:54:43 -0700 |
commit | 3aa02ccba93648f2decab899a5b9c42b6bcea9bf (patch) | |
tree | 359cefd9120385d3ccf94cb8ed448f9e99453652 /dive.h | |
parent | 0ca546b31e5527713f11676bc965aa1ed8dac619 (diff) | |
download | subsurface-3aa02ccba93648f2decab899a5b9c42b6bcea9bf.tar.gz |
Generate a default name for a dive, if it doesn't have one already
The name is a string containint date, time, depth and length. So it's
useful even with nothing else going on.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ struct sample { }; struct dive { + const char *name; time_t when; depth_t maxdepth, meandepth; duration_t duration, surfacetime; |