diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-03-03 15:17:40 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-03-03 15:17:40 -0800 |
commit | 84d379b8b8d3537a82d12d7b734209bef6c4ee63 (patch) | |
tree | ed27af891ba7277b1fac44152c3d3b737b64f9f1 /src/common/defs.h | |
parent | 92a6e0844ffd1614eb30ae093d3e6e7e5540321f (diff) | |
download | vyatta-cfg-84d379b8b8d3537a82d12d7b734209bef6c4ee63.tar.gz vyatta-cfg-84d379b8b8d3537a82d12d7b734209bef6c4ee63.zip |
remove deactivate-handling code from commit
* activate/deactivate is pending redesign, so the old code no longer applies.
* conceptually activate/deactivate should be transparent to commit so removing the old code.
Diffstat (limited to 'src/common/defs.h')
-rw-r--r-- | src/common/defs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/defs.h b/src/common/defs.h index 331fe2b..5ba98ce 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -40,12 +40,6 @@ typedef enum { K_DEL_OP = 0x10 } NODE_OPERATION; -typedef enum { - K_NO_DISABLE_OP = 0X00, - K_LOCAL_DISABLE_OP = 0x02, //MEANS DISABLE FLAG IS SET IN LOCAL CONFIGURATION - K_ACTIVE_DISABLE_OP = 0x04 //MEANS DISABLE FLAG IS SET IN ACTIVE CONFIGURATION -} NODE_ACTIVATE; - #define IS_SET(op) (op & K_SET_OP) #define IS_ACTIVE(op) (op & K_ACTIVE_OP) #define IS_CREATE(op) (op & K_CREATE_OP) @@ -83,7 +77,6 @@ struct Data boolean _value; //is this a value? char* _path; NODE_OPERATION _operation; //no-op, set, or delete - NODE_ACTIVATE _disable_op; //is this node currently deactivated? }; /* |