Prefix public functions of ogg_afh_common.c with "oac".
[paraslash.git] / audiod.h
1 /*
2  * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file audiod.h Symbols exported from audiod.c. */
8
9
10 /** enum of audio formats supported by para_audiod */
11 enum {AUDIOD_AUDIO_FORMATS_ENUM};
12
13 /** array of audio format names supported by para_audiod */
14 extern const char *audio_formats[];
15
16 extern int audiod_status;
17
18 /* defined in audiod.c */
19 struct btr_node *audiod_get_btr_root(void);
20 __malloc char *audiod_get_decoder_flags(void);
21 void clear_and_dump_items(void);
22 char *get_time_string(void);
23 bool uid_is_whitelisted(uid_t uid);
24
25 /* defined in audiod_command.c */
26 void audiod_status_dump(bool force);
27 void close_stat_clients(void);
28 int handle_connect(int accept_fd, fd_set *rfds);
29 void stat_client_write_item(int item_num);