summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-30 10:56:58 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-30 10:56:58 -0700
commit653569b3768a4ebfc7d111864f3d165977db37a6 (patch)
treedf4c1ee8a7d237dcdc8cad5b2984b0e60cc430bc /src/cli_val.h
parent5c170940c89065df4c7bbc6561cbdfd297363aad (diff)
downloadvyatta-cfg-653569b3768a4ebfc7d111864f3d165977db37a6.tar.gz
vyatta-cfg-653569b3768a4ebfc7d111864f3d165977db37a6.zip
handle config locking
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index 6ccfde2..7d57456 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -190,7 +190,7 @@ extern void touch_dir(const char *dp);
void mark_paths(vtw_mark *markp);
void restore_paths(vtw_mark *markp);
-extern boolean get_config_lock(const char* adirp, const char* lock_name);
+extern int get_config_lock();
#define VTWERR_BADPATH -2
#define VTWERR_OK 0
@@ -199,7 +199,6 @@ extern boolean get_config_lock(const char* adirp, const char* lock_name);
#define VAL_NAME "node.val"
#define MOD_NAME ".modified"
#define OPQ_NAME ".wh.__dir_opaque"
-#define LOCK_NAME ".commit.lck"
#define INTERNAL internal_error(__LINE__, __FILE__)