X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Flog.h;fp=utils%2Fstatd%2Flog.h;h=0000000000000000000000000000000000000000;hb=9ccfe0fa5a43dfc4453b09e328565a6c8f999fe4;hp=fc55d3c2dcf91bc748920e2a3caf6d51d222bd97;hpb=29e2293a69a75abf0ce1c85daff0b94c9875d56a;p=nfs-utils.git diff --git a/utils/statd/log.h b/utils/statd/log.h deleted file mode 100644 index fc55d3c..0000000 --- a/utils/statd/log.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 1995 Olaf Kirch - * Modified by Jeffrey A. Uphoff, 1996, 1997, 1999. - * Modified by Lon Hohberger, Oct. 2000 - * - * NSM for Linux. - */ - -/* - * logging functionality - * 260295 okir - */ - -#ifndef _LOCKD_LOG_H_ -#define _LOCKD_LOG_H_ - -#include - -void log_init(void); -void log_background(void); -void log_enable(int facility); -int log_enabled(int facility); -void note(int level, char *fmt, ...); -void die(char *fmt, ...); - -/* - * Map per-application severity to system severity. What's fatal for - * lockd is merely an itching spot from the universe's point of view. - */ -#define N_CRIT LOG_CRIT -#define N_FATAL LOG_ERR -#define N_ERROR LOG_WARNING -#define N_WARNING LOG_NOTICE -#define N_DEBUG LOG_DEBUG - -#ifdef DEBUG -#define dprintf note -#else -#define dprintf if (run_mode & MODE_LOG_STDERR) note -#endif - -#endif /* _LOCKD_LOG_H_ */