]> git.puffer.fish Git - mirror/frr.git/commit
lib: Change frrscript to hold many Lua states
authorDonald Lee <dlqs@gmx.com>
Sun, 4 Jul 2021 14:58:21 +0000 (22:58 +0800)
committerDonald Lee <dlqs@gmx.com>
Sat, 17 Jul 2021 22:32:03 +0000 (06:32 +0800)
commit105ba9af8f0bd9a116f2571625b2ea39c49c20c1
treec7ae13ddec6cdca02d7d898e84ad39ce14ca186c
parent432bb280fb4fbe3ce35bd3f2aea3da1ce4e48a03
lib: Change frrscript to hold many Lua states

Instead of 1 frrscript : 1 lua state, it is changed to 1 : N.
The states are hashed with their function names.

Signed-off-by: Donald Lee <dlqs@gmx.com>
lib/frrscript.c
lib/frrscript.h