diff options
Diffstat (limited to 'prototypes.h')
-rw-r--r-- | prototypes.h | 14 |
1 files changed, 14 insertions, 0 deletions
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[]); |