rpcd: build, uci and session api fixes
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jan 2014 11:52:40 +0000 (11:52 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jan 2014 11:52:40 +0000 (11:52 +0000)
commit54cff2076e36a24118eabc463bda338d5f5a2a55
tree736ae5de0379a896564431cb28cbc465d82d7238
parent8fc56539865aef157a385f6970fe5349d57ffeae
rpcd: build, uci and session api fixes

- fix CMakeFile to support rpcd out of tree builds
- fix a possible file descriptor leak in the session deserialization code
- add uci.state call which is equivalent to uci -P /var/state get ...
- make uci.changes "config" argument optional to allow listing all deltas in one go
- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
- only trigger config change events if libuci was able to parse the config
- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39224 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/rpcd/Makefile