summaryrefslogtreecommitdiffstats
path: root/utils/statd/statd.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-11 19:13:59 -0500
committerSteve Dickson <steved@redhat.com>2010-01-12 05:50:27 -0500
commit99979a6cf2f862d2365d27fa90fab4416c374903 (patch)
tree345c993061e0b20cafaaa0cb9d3ee6311d33afaa /utils/statd/statd.h
parentc74532a864caea0ca126dc8e9f4914e7c8e86898 (diff)
downloadnfs-utils-99979a6cf2f862d2365d27fa90fab4416c374903.tar.gz
nfs-utils-99979a6cf2f862d2365d27fa90fab4416c374903.tar.xz
nfs-utils-99979a6cf2f862d2365d27fa90fab4416c374903.zip
statd: Use the new nsm_ file.c calls in rpc.statd
Replace open-coded accesses to on-disk NSM information in rpc.statd with calls to the new API. Behavior should be much the same as it was before. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd/statd.h')
-rw-r--r--utils/statd/statd.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/utils/statd/statd.h b/utils/statd/statd.h
index 085f32d..542a877 100644
--- a/utils/statd/statd.h
+++ b/utils/statd/statd.h
@@ -14,28 +14,6 @@
#include "xlog.h"
/*
- * Paths and filenames.
- */
-#if defined(NFS_STATEDIR)
-# define DEFAULT_DIR_BASE NFS_STATEDIR "/"
-#else
-# define DEFAULT_DIR_BASE "/var/lib/nfs/"
-#endif
-
-#define DEFAULT_SM_DIR DEFAULT_DIR_BASE "sm"
-#define DEFAULT_SM_BAK_DIR DEFAULT_DIR_BASE "sm.bak"
-#define DEFAULT_SM_STAT_PATH DEFAULT_DIR_BASE "state"
-
-/* Added to support run-time specification of state directory path.
- * j_carlos_gomez@yahoo.com
- */
-
-extern char * DIR_BASE;
-extern char * SM_DIR;
-extern char * SM_BAK_DIR;
-extern char * SM_STAT_PATH;
-
-/*
* Status definitions.
*/
#define STAT_FAIL stat_fail
@@ -53,7 +31,6 @@ extern int process_notify_list(void);
extern int process_reply(FD_SET_TYPE *);
extern char * xstrdup(const char *);
extern void * xmalloc(size_t);
-extern void xunlink (char *, char *);
extern void load_state(void);
/*