diff options
author | Fritz Elfert <felfert@to.com> | 1999-07-04 11:59:42 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 1999-07-04 11:59:42 +0000 |
commit | f2d9bc87bc87b4ef3cdee081c65ad1c248804edd (patch) | |
tree | febc5b563533b56b9768d1d176fc8c8325d6ab8d /include | |
parent | 7c656c8b37fd4733ff6a389de95e3ab7110f586b (diff) | |
download | plptools-f2d9bc87bc87b4ef3cdee081c65ad1c248804edd.tar.gz plptools-f2d9bc87bc87b4ef3cdee081c65ad1c248804edd.tar.bz2 plptools-f2d9bc87bc87b4ef3cdee081c65ad1c248804edd.zip |
logging via syslog, more error-handling.
Diffstat (limited to 'include')
-rw-r--r-- | include/defs.h | 2 | ||||
-rw-r--r-- | include/defs.h.in | 2 | ||||
-rw-r--r-- | include/mp.h | 7 |
3 files changed, 8 insertions, 3 deletions
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 |