*** empty log message ***

svn path=/trunk/boinc/; revision=9317
This commit is contained in:
David Anderson 2006-01-25 23:43:38 +00:00
parent 9a438d6444
commit d99d85baab
3 changed files with 24 additions and 16 deletions

View File

@ -1014,3 +1014,10 @@ David 25 Jan 2006
client/
cs_scheduler.C
David 25 Jan 2006
- account manager RPC request now lists all projects;
<attached_via_acct_mgr/> is included for those attached via AMS
client/
acct_mgr.C

View File

@ -126,22 +126,22 @@ int ACCT_MGR_OP::do_rpc(
}
for (i=0; i<gstate.projects.size(); i++) {
PROJECT* p = gstate.projects[i];
if (p->attached_via_acct_mgr) {
fprintf(f,
" <project>\n"
" <url>%s</url>\n"
" <project_name>%s</project_name>\n"
" <suspended_via_gui>%d</suspended_via_gui>\n"
" <account_key>%s</account_key>\n"
" <hostid>%d</hostid>\n"
" </project>\n",
p->master_url,
p->project_name,
p->suspended_via_gui,
p->authenticator,
p->hostid
);
}
fprintf(f,
" <project>\n"
" <url>%s</url>\n"
" <project_name>%s</project_name>\n"
" <suspended_via_gui>%d</suspended_via_gui>\n"
" <account_key>%s</account_key>\n"
" <hostid>%d</hostid>\n"
"%s"
" </project>\n",
p->master_url,
p->project_name,
p->suspended_via_gui,
p->authenticator,
p->hostid,
p->attached_via_acct_mgr?" <attached_via_acct_mgr/>\n":""
);
}
fprintf(f, "</acct_mgr_request>\n");
fclose(f);

View File

@ -205,6 +205,7 @@ list_item("input", html_text("
<suspended_via_gui>0</suspended_via_gui>
<account_key>397d250e02ec02be8141b8d109d5ec73e5</account_key>
<hostid>NNN</hostid>
[ <attached_via_acct_mgr/> ]
</project>
[ <gui_rpc_port>N</gui_rpc_port> ]
[ <gui_rpc_password>xxxx</gui_rpc_password> ]