summaryrefslogtreecommitdiff
path: root/src/cli_val.h
AgeCommit message (Collapse)Author
2010-04-13fix for bug 2176.Michael Larson
Embedded leaf nodes can now be supported in the cli structure. In additional an arbritrary limit can be set on the number of multinode values allowed. Format in the node.def is: tag: [u32] or multi: [u32] For the special case of a leaf node the value for u32 is 1. In this case the operation applied to the node is to replace the node with the set value. This generates a delete of the old tree structure from the embedded leaf and a set of the new tree structure from the embedded leaf.
2009-03-11Fix warnings from redefining TRUEStephen Hemminger
TRUE and FALSE are already defined in glib causing warnings.
2008-09-04Fix build warningsStephen Hemminger
Get rid of warnings for push_path discards qualifiers from pointer target type.
2008-07-29Turn my_wrappers into macrosStephen Hemminger
The my_malloc() etc wrappers can be shrunk by using macros.
2008-07-29Avoid needless calls to system()Stephen Hemminger
Add a version of touch and mkdir -p commands coded directly without going out to shell.
2008-07-29Add annotation to cli functionsStephen Hemminger
Use gcc annotations for noreturn and printf like formats
2008-07-29type_to_name returns immutable stringStephen Hemminger
Don't want accidental errors
2008-07-07fix for bug 3216. added no escape option to push path for environmental path ↵Michael Larson
variable. note this is appied to all c code access to the edit env variable.
2008-06-30fix for bug 3403: allocate correct amount of memory for multi-valued nodes.An-Cheng Huang
2008-04-10partial fix for bug 2181: add new template field "priority".An-Cheng Huang
2007-12-11Bug #2509alex
Multivalue nodes are diffed with previous value for validation before commit.
2007-11-09* fix for bug 2472: return empty string when directory references don'tAn-Cheng Huang
exist (for existence checks in templates). * add debug output.
2007-11-06fix for bug 2273: cli parser was overwriting "type help" with "node help".An-Cheng Huang
2007-11-02* fix cli backend memory leak.An-Cheng Huang
* export {copy,free}_path().
2007-10-30handle config lockingAn-Cheng Huang
2007-10-29redirect output by defaultAn-Cheng Huang
2007-09-25initial import (from eureka /cli) plus new build system.upstreamAn-Cheng Huang