summaryrefslogtreecommitdiffstats
path: root/prototypes.h
blob: e6c95a48d7df4ac3d46b9fc4c08f8010710ab478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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_stream(uint8_t *v, UTC u);
/* 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[]);
/* signal.c */
extern void signal_init(void);
extern void signal_send_bp(int b);
/* sync.c */
extern void sync_to_second(struct timeval *ret);
extern void sync_to_minute(struct timeval *ret);
/* audio.c */
extern void audio_init(void);
extern void audio_start(void);
extern void audio_play(void *data, size_t len);