Lloyd Bryant wrote: > This patch adds 4 new commands to the remote shell:
Thank you very much! I've committed your changes with some modifications to SVN. > "close" - closes Gnet connections > "open" - opens Gnet connections I changed those names to "offline" and "online" because close/open is a bit too generic for a top-level command. > "props" - displays all available properties I kept that as is, because "properties" is really a bit long. I also extended it so that you can optionally pass a regex pattern to list only certain properties. This is something I've really missed several times when I wanted to modify some property but couldn't remember its exact name. > "stat" - a one-page status report for the node I renamed this to "status". I think it's not worth the 2 characters. > Note: I'm still learning my way around GtkG, so don't be surprised if I > missed a "better way" of doing something. If you have any questions regarding my modifications, just ask. > Note2: One thing I am moderately unhappy about is that I had to add a > global variable (only visible within shell.c) to capture the current time - Just use tm_time(). It returns a cached timestamp. See lib/tm.[ch] for related functions. -- Christian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
