[API 7.0.0 compatibility] Made changes to take advantage of the latest API changes

including the ability to start and stop most scripts.
This commit is contained in:
Bill Ferguson
2021-06-19 23:34:14 -04:00
parent f272aeb9fe
commit 5da64a7da0
59 changed files with 1675 additions and 449 deletions

View File

@@ -12,6 +12,10 @@ local libname = nil
du.check_min_api_version("3.0.0", "get_lib_manpages")
local function destroy()
-- nothing to destroy
end
local keys = {"Name", "Synopsis", "Usage", "Description", "Return_Value", "Limitations",
"Example", "See_Also", "Reference", "License", "Copyright"}
@@ -74,3 +78,7 @@ for line in output:lines() do
libname = nil
end
local script_data = {}
script_data.destroy = destroy
return script_data