state doc

This commit is contained in:
Olof hagsand 2017-07-08 10:58:33 +02:00
parent 4e986d6660
commit 93eaff60cd
2 changed files with 61 additions and 6 deletions

View file

@ -146,7 +146,7 @@ plugin_statedata(clicon_handle h,
int retval = -1;
cxobj **xvec = NULL;
/* Example of statedata, remove 0 to enable */
/* Example of (static) statedata, real code would poll state */
if (0 && (xml_parse("<interfaces-state><interface>"
"<name>eth0</name>"
"<type>eth</type>"