<p>Yea, this would be a Lua library that is directly tied to the commotiond C code. Essentially the same way that lua.model.uci has some functions that are just C code that can be imported when calling Lua code. This would make it so LuCI would not have to fork out a new shell to call Commotion functions, but could directly interface with the C backend through a lua/c library in the existing lua process.</p>

<p><a href="https://www.youtube.com/watch?v=IkJqKOb0ZhY&feature=kp">https://www.youtube.com/watch?v=IkJqKOb0ZhY&feature=kp</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/commotiond/issues/46#issuecomment-46623944">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODgzNTIyNSwiZGF0YSI6eyJpZCI6MTgyNzY4MTd9fQ==--42fcca6a34d8c135b290cfa63447453112ccf1d6.gif" width="1" /></p>