aboutsummaryrefslogtreecommitdiff
path: root/moc_library.h
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@fastmailteam.com>2022-07-27 22:24:04 -0400
committerCalvin Morrison <calvin@fastmailteam.com>2022-07-27 22:24:04 -0400
commited51c35c9fc4c45c42f75c02323ffc1d8afa63b5 (patch)
treef64db8ded9db11573da0566b7e60d35b4743b61c /moc_library.h
parent32838e89fc892ab8baa5d01294a9f90a0a21c4d5 (diff)
update header and moc_x11.c to show length and server status
Diffstat (limited to 'moc_library.h')
-rw-r--r--moc_library.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/moc_library.h b/moc_library.h
index 60a9c09..c545927 100644
--- a/moc_library.h
+++ b/moc_library.h
@@ -40,8 +40,10 @@ struct moc {
int track;
int time;
int filled;
+ int length;
};
+extern const char * moc_str_status(enum moc_status s);
extern const char * moc_str_state(enum moc_state s);
extern struct moc * moc_init();