*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file server.h Common server data structures. */
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file server.h Common server data structures. */
/** Size of the selector_info and audio_file info strings of struct misc_meta_data. */
#define MMD_INFO_SIZE 16384
/** Size of the selector_info and audio_file info strings of struct misc_meta_data. */
#define MMD_INFO_SIZE 16384
unsigned int num_connects;
/** The number of connections currently active. */
unsigned int active_connections;
unsigned int num_connects;
/** The number of connections currently active. */
unsigned int active_connections;
/** This gets updated by afs and contains its current mode. */
char afs_mode_string[MAXLINE];
/** Used by the sender command. */
/** This gets updated by afs and contains its current mode. */
char afs_mode_string[MAXLINE];
/** Used by the sender command. */
extern struct server_args_info conf;
__noreturn void handle_connect(int fd, const char *peername);
extern struct server_args_info conf;
__noreturn void handle_connect(int fd, const char *peername);