From c1cb78d574c0429aa5e3ff3a2b3886e4bc153212 Mon Sep 17 00:00:00 2001 From: bbergeron Date: Wed, 3 Apr 2024 17:32:01 -0400 Subject: Reset Git repo and use a pseudonym to sign commits I used to sign my commits with my real name and my personal email address, which I wanted scrubbed off the "B." pseudosphere. Re-creating a new git repository was safer than simpler than re-writing the history (although the latter could've also worked but, oh well). --- common.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 common.h (limited to 'common.h') diff --git a/common.h b/common.h new file mode 100644 index 0000000..1ad624b --- /dev/null +++ b/common.h @@ -0,0 +1,33 @@ +#ifndef COMMON_H_ +#define COMMON_H_ + +#include +#define PLAYLIST_END UINT_MAX +#define SEGMENT_COUNT_UNLIMITED UINT_MAX + +enum State { + STATE_PAUSED, + STATE_PLAYING, + STATE_STANDBY, + STATE_TERM +}; + +struct Entry { + unsigned int id; + char *file; +}; + +struct StateInfo { + enum State state; + char *current_song; + int song_count; + struct Entry *next_songs; +}; + +struct StreamerOpt { + char *filename; +}; + +void stateinfo_free(struct StateInfo *state_info); + +#endif // COMMON_H_ -- cgit v1.2.3