Add helper function to translate cylinder use text to matching idx

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-17 13:51:19 +00:00
parent 0d7c192e6e
commit 74582de06c
2 changed files with 11 additions and 0 deletions

2
dive.h
View file

@ -647,6 +647,8 @@ extern int git_load_dives(struct git_repository *, const char *);
extern const char *saved_git_id;
extern void clear_git_id(void);
extern void set_git_id(const struct git_oid *);
int cylinderuse_from_text(const char *text);
struct user_info {
const char *name;