docs: update the reference implementation source

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman 2024-09-28 11:14:12 +03:00
parent e6ef0fe3b5
commit bfee5d083c
No known key found for this signature in database
GPG Key ID: 0CF84597DD87A9FF

View File

@ -143,7 +143,7 @@ uint32_t sfh_hash(const char * data, int len)
## Reference Implementation
A reference implementation can be found here:
https://github.com/openwrt/luci/blob/master/modules/luci-base/src/template_lmo.c
https://github.com/openwrt/luci/blob/master/modules/luci-lua-runtime/src/template_lmo.c
The `po2lmo.c` executable implements a `*.po` to `*.lmo` conversation utility.
Lua bindings for lmo are defined in `template_lualib.c` and associated headers.