From 588f449894a456404cd1e82fe10e3134f8c3ee2e Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Tue, 15 Sep 2009 17:01:16 +0200 Subject: [PATCH] fsetupcmd got -l option --- ChangeLog | 2 ++ clients/fhost.c | 18 ++++++++++++++++++ clients/fhost.h | 1 + clients/fsetupcmd.c | 8 ++++++-- man/fsetupcmd.1 | 26 +++++++++++++++++++++----- 5 files changed, 48 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9c23d4..bc1d3a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,8 @@ Version NEXT fsetupcmd - reject port number > 65535 fsetupcmd - code cleaned a bit. Error message is now fsetup: No host given! instead of fhost: + fsetupcmd got -l option. It lists all known fsp servers collected + from .fspsites files. Version 2.8.1b25 - 10 Sep 2009 GNU autotools build system was entirely replaced by SCons diff --git a/clients/fhost.c b/clients/fhost.c index 1da254d..e0cdc08 100644 --- a/clients/fhost.c +++ b/clients/fhost.c @@ -114,6 +114,24 @@ void list_prof_file (void) /* list resource file */ return; } +void list_sites_file (void) /* list resource file in fspsites format */ +{ + int i,j; + for(i=0;i