summaryrefslogtreecommitdiff
path: root/src/cli_objects.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-02-22 16:33:45 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-02-22 16:33:45 -0800
commit95b4b15c8b0d47a7323cd74858714023c7a22a22 (patch)
tree53d6ed54ecfdc38ffedcf910c8e22ac0a7758e88 /src/cli_objects.h
parent0c45579ce0c5672677c8fb9f9ea82d404c0e01a2 (diff)
downloadvyatta-cfg-95b4b15c8b0d47a7323cd74858714023c7a22a22.tar.gz
vyatta-cfg-95b4b15c8b0d47a7323cd74858714023c7a22a22.zip
clean up dead code etc. etc. etc.
Diffstat (limited to 'src/cli_objects.h')
-rw-r--r--src/cli_objects.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cli_objects.h b/src/cli_objects.h
index 12b6b38..889c772 100644
--- a/src/cli_objects.h
+++ b/src/cli_objects.h
@@ -3,10 +3,6 @@
#include "cli_val.h"
-#define APATH (get_f_seg_a_ptr())
-#define CPATH (get_f_seg_c_ptr())
-#define MPATH (get_f_seg_m_ptr())
-
/* names of VYATTA env vars */
#define ENV_EDIT_LEVEL "VYATTA_EDIT_LEVEL"
#define ENV_TEMPLATE_LEVEL "VYATTA_TEMPLATE_LEVEL"
@@ -17,7 +13,6 @@
#define ENV_TMP_DIR "VYATTA_CONFIG_TMP"
#define DEF_A_DIR "/opt/vyatta/config/active"
#define DEF_T_DIR "/opt/vyatta/share/ofr/template"
-#define ENV_OLD_PS1 "VYATTA_OLD_PS1"
/* the string to use as $(@), must be set
before call to expand_string */
@@ -34,32 +29,18 @@ void set_in_commit(boolean b);
boolean is_in_exec(void);
void set_in_exec(boolean b);
-boolean is_echo(void);
-void set_echo(boolean b);
-
-boolean is_silent_msg(void);
-void set_silent_msg(boolean b);
-
valstruct* get_cli_value_ptr(void);
first_seg* get_f_seg_a_ptr(void);
first_seg* get_f_seg_c_ptr(void);
first_seg* get_f_seg_m_ptr(void);
-int is_in_cond_tik(void);
-void set_in_cond_tik(int ict);
-void dec_in_cond_tik(void);
-
const char* get_tdirp(void);
const char* get_cdirp(void);
const char* get_adirp(void);
const char* get_mdirp(void);
const char* get_tmpp(void);
-char* get_elevp(void);
-char* get_tlevp(void);
-
-void init_edit(void);
void init_paths(boolean for_commit);
#endif /* CLI_OBJ_H */