WhiteBoard Project using C RPC
A Project in Distributed Computing at IIIT-Delhi
wbadmin.c File Reference
#include "wb.h"
Include dependency graph for wbadmin.c:

Go to the source code of this file.

Data Structures

struct  BClient
 
struct  BBoard
 
struct  XferWBArg
 

Macros

#define NMSZ   50
 

Functions

struct BBoardquery_1 (int *unused, CLIENT *clp)
 
int newserver_1 (char *machineName, CLIENT *clp)
 
int transferwhiteboard_1 (struct XferWBArg a, CLIENT *clp)
 
void usage ()
 
int queryServer (char *snm, int prgn, CLIENT *clp)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ NMSZ

#define NMSZ   50

Definition at line 24 of file wbadmin.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 70 of file wbadmin.c.

References XferWBArg::boardnm, clp, XferWBArg::machinenm, newserver_1(), XferWBArg::nprogram, XferWBArg::nversion, queryServer(), transferwhiteboard_1(), and usage().

Here is the call graph for this function:

◆ newserver_1()

int newserver_1 ( char *  machineName,
CLIENT *  clp 
)

Definition at line 34 of file wbadmin.c.

Referenced by main().

Here is the caller graph for this function:

◆ query_1()

struct BBoard* query_1 ( int *  unused,
CLIENT *  clp 
)

Definition at line 33 of file wbadmin.c.

Referenced by queryServer().

Here is the caller graph for this function:

◆ queryServer()

int queryServer ( char *  snm,
int  prgn,
CLIENT *  clp 
)

Definition at line 48 of file wbadmin.c.

References BClient::clientdata, BBoard::clients, BClient::next, BBoard::next, and query_1().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transferwhiteboard_1()

int transferwhiteboard_1 ( struct XferWBArg  a,
CLIENT *  clp 
)

Definition at line 35 of file wbadmin.c.

Referenced by main().

Here is the caller graph for this function:

◆ usage()

void usage ( )

Definition at line 37 of file wbadmin.c.

Referenced by main().

Here is the caller graph for this function: