From f2d9bc87bc87b4ef3cdee081c65ad1c248804edd Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 4 Jul 1999 11:59:42 +0000 Subject: logging via syslog, more error-handling. --- include/defs.h | 2 +- include/defs.h.in | 2 +- include/mp.h | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/defs.h b/include/defs.h index 506bfa3..447c9af 100644 --- a/include/defs.h +++ b/include/defs.h @@ -18,7 +18,7 @@ #define DUSER "root" #ifndef DDIR -# define DDIR "/psion.stand/mnt" +# define DDIR "/mnt/psion" #endif #ifndef PSIONHOSTNAME diff --git a/include/defs.h.in b/include/defs.h.in index 221f142..3c6fbce 100644 --- a/include/defs.h.in +++ b/include/defs.h.in @@ -18,7 +18,7 @@ #define DUSER "root" #ifndef DDIR -# define DDIR "/psion.stand/mnt" +# define DDIR "/mnt/psion" #endif #ifndef PSIONHOSTNAME diff --git a/include/mp.h b/include/mp.h index dd456d5..752f3e3 100644 --- a/include/mp.h +++ b/include/mp.h @@ -195,6 +195,11 @@ extern struct statfsres *nfsproc_statfs_2 __P((struct nfs_fh *fh)); extern struct readdirres *nfsproc_readdir_2 __P((struct readdirargs *ra)); extern struct readlinkres *nfsproc_readlink_2 __P((struct nfs_fh *fh)); -extern int mp_main(int argc, char **argv); +extern int mp_main(int, char *, char *); + +extern int logsyslog; +extern int debuglog(char *fmt, ...); +extern int errorlog(char *fmt, ...); +extern int infolog(char *fmt, ...); #endif -- cgit v1.2.3