From 9b0002fc40f4d8b97cf2064910a9ded467f29276 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 26 Feb 2019 10:56:52 +0000 Subject: fish --- prototypes.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 prototypes.h (limited to 'prototypes.h') diff --git a/prototypes.h b/prototypes.h new file mode 100644 index 0000000..fc09337 --- /dev/null +++ b/prototypes.h @@ -0,0 +1,14 @@ +/* time_fn.c */ +extern UTC time_epoch_to_utc(EPOCH epoch); +extern EPOCH time_utc_to_epoch(UTC u); +extern void utc_to_str(char *dst, UTC u); +extern void time_print_utc(const char *p, UTC u); +extern void time_print_epoch(const char *p, EPOCH e); +/* msf.c */ +extern void msf_make_bits(UTC u, uint8_t *a, uint8_t *b); +extern void msf_make_stream(uint8_t *v, uint8_t *a, uint8_t *b); +/* util.c */ +extern int set_parity(uint8_t *d, unsigned s, unsigned e); +extern void bcd_set(uint8_t *d, unsigned s, unsigned e, unsigned v); +/* main.c */ +extern int main(int argc, char *argv[]); -- cgit v1.2.3