
11 Dec
2012
11 Dec
'12
5:51 p.m.
On Tue, Dec 04, 2012 at 07:52:27PM -0600, Joe Hershberger wrote:
When a variable with a registered callback is inserted, deleted, or overwritten the callback is called and gives the system an opportunity to do something in response to the change. It also has the opportunuty to reject the change by returning non-zero.
The flags on variables can control their type as well as their allowed access.
The format of the list is: type_attribute = [s|d|x|b|i|m] attributes = type_attribute entry = variable_name[:attributes] list = entry[,list] The type attributes are: s - String (default) d - Decimal x - Hexadecimal b - Boolean ([1yYtT|0nNfF]) i - IP address m - MAC address The access attributes are: a - Any (default) r - Read-only o - Write-once c - Change-default
Changes in v4:
- Prevent crash on relocation import
- Fixed help text
- Add help text for env flags command
- Add force support to setenv
- Implement delete
This should fix the problem Wolfgang saw, correct? And aside from the comment fix Graeme found, this is ready for merge? Thanks!
--
Tom