/*
- * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2010 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
extern char *dss_errlist[];
extern char *dss_error_txt;
-__printf_2_3 void dss_log(int ll, const char* fmt,...);
+void dss_log_set_params(int ll, const char *file, int line, const char *func);
+__printf_1_2 void dss_log(const char* fmt,...);
/**
* This bit indicates whether a number is considered a system error number
DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR"), \
DSS_ERROR(SIGNAL, "caught terminating signal"), \
DSS_ERROR(BUG, "values of beta might cause dom!"), \
- DSS_ERROR(NOT_RUNNING, "dss not running")
+ DSS_ERROR(NOT_RUNNING, "dss not running"), \
+ DSS_ERROR(TOO_MANY_RSYNC_ERRORS, "too many consecutive rsync errors")
/**
* This is temporarily defined to expand to its first argument (prefixed by