X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=c3244132ccb1323eb448fa1a20a619332b71ef0d;hp=f435104b49822179ff682fa50bccac954651fd26;hb=f918ea4a69580a9d99852fcdd410923fcfad7393;hpb=6e49c896b306838ae301df3e6ece2a6a7eb5629f diff --git a/server.c b/server.c index f435104b..c3244132 100644 --- a/server.c +++ b/server.c @@ -4,14 +4,60 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file server.c Paraslash's main server */ +/** \file server.c Paraslash's main server. */ /** \mainpage Paraslash API Reference * - * Good starting points for reading are probably \ref audio_file_selector, - * \ref sender, \ref receiver, \ref receiver_node, \ref filter, \ref - * filter_node. + * Starting points for getting an overview are + * + * probably: + * + * - The main programs: \ref server.c, \ref audiod.c, \ref client.c, + * \ref audioc.c, \ref fsck.c + * - Server: \ref server_command, \ref sender, + * - Audio file selector: \ref audio_format_handler, \ref mood, \ref afs_table, + * - Client: \ref receiver, \ref receiver_node, \ref filter, \ref filter_node + * + * + * The gory details, listed by topic: + * + * - Audio format handlers: \ref mp3_afh.c, \ref ogg_afh.c \ref aac_afh.c + * - Decoders: \ref mp3dec.c, \ref \ref oggdec.c, \ref aacdec.c + * - Volume normalizer: \ref compress.c + * - Output: \ref alsa_write.c, \ref osx_write.c + * - http: \ref http_recv.c, \ref http_send.c + * - ortp: \ref ortp_recv.c, \ref ortp_send.c + * - dccp: \ref dccp_recv.c, \ref dccp_send.c + * - Audio file selector: \ref afs.c, \ref aft.c, \ref mood.c + * - Afs structures: \ref afs_table, \ref audio_file_data, + * \ref afs_info \ref audio_format_info, + * - Afs tables: \ref aft.c, \ref mood.c, \ref playlist.c, + * \ref attribute.c, \ref score.c. + * + * Lower levels: + * + * - Scheduling: \ref sched.c, \ref sched.h + * - Networking: \ref net.c, + * - File descriptors: \ref fd.c, + * - Signals: \ref signal.c, + * - Daemons: \ref daemon.c, + * - Strings: \ref string.c, string.h + * - Time: \ref time.c, time.h + * - Spawning processes: \ref exec.c + * - Inter process communication: ipc.c, + * - The object storage layer: \ref osl.c, + * - Blob tables: blob.c, + * - Queueing chunks of audio data: \ref chunk_queue.c + * - The error subssystem: \ref error.h + * + * Lov-level data structures: + * + * - Doubly linked lists: \ref list.h, + * - Red-black trees: \ref rbtree.h, \ref rbtree.c + * - Ring buffer: \ref ringbuffer.c, \ref ringbuffer.h + * - Hashing: \ref hash.h, \ref sha1.h, \ref sha1.c + * - Crypto: \ref crypt.c * */ @@ -46,16 +92,16 @@ INIT_SERVER_ERRLISTS; #define ALARM_TIMEOUT 10 /** - * pointer to shared memory area for communication between para_server - * and its children. exported to vss.c. command.c and to all selectors. + * Pointer to shared memory area for communication between para_server + * and its children. Exported to vss.c. command.c and to afs. */ struct misc_meta_data *mmd; /** * the configuration of para_server * - * It also contains the options for all audio file selectors, audio format handler - * and all supported senders. + * It also contains the options for the audio file selector, audio format + * handler and all supported senders. */ struct server_args_info conf; @@ -165,7 +211,7 @@ err_out: /** * lock the shared memory area containing the mmd struct * - * \sa semop(2), struct misc_meta_data + * \sa semop(2), struct misc_meta_data. */ void mmd_lock(void) {