41 "\nNote: Linked with dummy query, newserver, transferwhiteboard functions.\n\n" 42 "Usage: -q for query, -n for new server create, -t for transfer board\n" 43 "wbadmin -q <server-machine-nm> <prognum-in-hex>\n" 44 "wbadmin -n <existing-server-machine-nm> <prognum-in-hex> <new-server-machine-nm>\n" 45 "wbadmin -t <from-server-machine-nm> <prognum-in-hex> <wb-nm> <to-server-machine-nm> <prognum>\n");
53 printf(
"Server has no boards.\n");
55 for (; b; b = b->
next) {
56 printf(
"Board %s on server %s prognum %x has\n",
59 printf(
"\tno clients\n");
62 printf(
"\tclient on server %s displayed at %s with prognum %x\n",
63 c->clientdata->machinenm,
64 c->clientdata->xdisplaynm,
65 c->clientdata->nprogram);
70 int main(
int argc,
char * argv[])
81 char * host = argv[2];
82 int prognum = strtol(argv[3], 0, 16);
83 printf(
"prgn %x\n", prognum);
84 clp = clnt_create(host, prognum, WhiteBoardServerVersion,
"tcp");
103 xa.
nprogram = strtol(argv[6], 0, 16);
104 xa.
nversion = WhiteBoardServerVersion;
113 printf(
"result %d\n", result);
struct BBoard * query_1(int *unused, CLIENT *clp)
int queryServer(char *snm, int prgn, CLIENT *clp)
int main(int argc, char *argv[])
int transferwhiteboard_1(struct XferWBArg a, CLIENT *clp)
int newserver_1(char *machineName, CLIENT *clp)