client: Fix return value check for sb_received().
[paraslash.git] / write_common.h
index 49938fe..1828875 100644 (file)
@@ -1,15 +1,16 @@
 /*
- * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
-/** \file write_common.h exported symbols from write_common.c */
+/** \file write_common.h Exported symbols from write_common.c. */
 
-int wng_open(struct writer_node_group *g);
-void wng_close(struct writer_node_group *g);
-struct writer_node_group *wng_new(unsigned num_writers);
-void wng_unregister(struct writer_node_group *g);
-void init_supported_writers(void);
-void *check_writer_arg(const char *wa, int *writer_num);
-struct writer_node_group *setup_default_wng(void);
+void writer_init(void);
+void *check_writer_arg_or_die(const char *wa, int *writer_num);
+void print_writer_helps(unsigned flags);
+void register_writer_node(struct writer_node *wn, struct btr_node *parent,
+               struct sched *s);
+void get_btr_sample_rate(struct btr_node *btrn, int32_t *result);
+void get_btr_channels(struct btr_node *btrn, int32_t *result);
+void get_btr_sample_format(struct btr_node *btrn, int32_t *result);