/*
- * Copyright (C) 2005-2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
struct audioc_args_info conf;
char *tmpfifo;
-
-/*
- * client log function
- */
-void para_log(int ll, const char* fmt,...)
-{
- va_list argp;
-
- /* ignore log message if loglevel is not high enough */
- if (ll < conf.loglevel_arg)
- return;
- va_start(argp, fmt);
- vfprintf(stderr, fmt, argp);
- va_end(argp);
-}
+INIT_STDERR_LOGGING(conf.loglevel_arg);
static char *concat_args(const int argc, char * const *argv)
{
if (audioc_cmdline_parser(argc, argv, &conf))
goto out;
+ HANDLE_VERSION_FLAG("audioc", conf);
cf = configfile_exists();
if (cf) {
if (audioc_cmdline_parser_configfile(cf, &conf, 0, 0, 0)) {