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