From 501cdf947de4d3367ca1628884574564757195c0 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 30 Jul 2001 18:12:45 +0000 Subject: [PATCH] Added server, system.node_list, and file_area object dumps. --- exec/dumpobjs.js | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/exec/dumpobjs.js b/exec/dumpobjs.js index 891f58375d..ba4834271b 100644 --- a/exec/dumpobjs.js +++ b/exec/dumpobjs.js @@ -10,6 +10,13 @@ print("\1hproperties of \1ysystem.stats \1wobject\1n"); for(i in system.stats) print("system.stats." + i + " = " + system.stats[i]); +// system.node_list[] +console.clear(); +print("\1helements of \1ysystem.node_list \1warray\1n"); +for(n in system.node_list) + for(i in system.node_list[n]) + print("system.node_list[" + n + "]." + i + " = " + system.node_list[n][i]); + // client console.clear(); print("\1hproperties of \1yclient \1wobject\1n"); @@ -22,11 +29,11 @@ print("\1hproperties of \1yclient.socket \1wobject\1n"); for(i in client.socket) print("client.socket." + i + " = " + client.socket[i]); -// bbs +// server console.clear(); -print("\1hproperties of \1ybbs \1wobject\1n"); -for(i in bbs) - print("bbs." + i + " = " + bbs[i]); +print("\1hproperties of \1yserver \1wobject\1n"); +for(i in server) + print("server." + i + " = " + server[i]); // user console.clear(); @@ -46,6 +53,29 @@ print("\1hproperties of \1yuser.security \1wobject\1n"); for(i in user.security) print("user.security." + i + " = " + user.security[i]); +// file_area +console.clear(); +print("\1hproperties of \1yfile_area \1wobject\1n"); +for(i in file_area) + print("file_area." + i + " = " + file_area[i]); + +// file_area.lib_list[] +print("\1helements of \1yfile_area.lib_list \1warray\1n"); +for(n in file_area.lib_list) { + for(i in file_area.lib_list[n]) + print("file_area.lib_list[" + n + "]." + i + " = " + file_area.lib_list[n][i]); + for(d in file_area.lib_list[n].dir_list) + for(i in file_area.lib_list[n].dir_list[d]) + print("file_area.lib_list[" + n + "].dir_list[" + d + "]." + i + " = " + + file_area.lib_list[n].dir_list[d][i]); +} + +// bbs +console.clear(); +print("\1hproperties of \1ybbs \1wobject\1n"); +for(i in bbs) + print("bbs." + i + " = " + bbs[i]); + // console console.clear(); print("\1hproperties of \1yconsole \1wobject\1n"); -- GitLab