summaryrefslogtreecommitdiffstats
path: root/prototypes.h
blob: fc0933720be524fb0272d4053b461ef717afb69a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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[]);