From 008e476ed54a6d9d3050f38dfc445de0cc2bd052 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Fri, 30 Nov 2007 09:51:20 +0000 Subject: Adding debuginfo for further programming and make config-edit function. git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@394 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openvpn-client_config-html.lsp | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'openvpn-client_config-html.lsp') diff --git a/openvpn-client_config-html.lsp b/openvpn-client_config-html.lsp index ef0bdaf..c2395ca 100644 --- a/openvpn-client_config-html.lsp +++ b/openvpn-client_config-html.lsp @@ -4,11 +4,33 @@

Client config ''

-

DEUB INFO

+------------ START DEBUG INFORMATION ------------ +

THIS VIEW CONTAINS THE FOLLOWING VARIABLES/TABLES

" .. a .. ": >" .. b .. "<
") +--print ("") +for a,b in pairs(view) do + if not (type(b) == "table") then + print ("" .. a .. ": >" .. b .. "<
") + else + print ("" .. a .. ":...
") + for c,d in pairs(view[a]) do + if not (type(d) == "table") then + print (" { " .. c .. ": >" .. d .. "< }
") + else + print (" { " .. c .. ":...
") + for e,f in pairs(view[a][c]) do + if not (type(f) == "table") then + print (" { { " .. e .. ": >" .. f .. "< } }
") + else + print (" { { " .. e .. ":... (table is not visible at the moment)
") + end + end + end + end + end +a,b,c,d,e,f,g,h,i,j = nil,nil,nil,nil,nil,nil,nil,nil,nil,nil end +print ("------------ END DEBUG INFORMATION ------------
") ?> -- cgit v1.2.3