|
WhiteBoard Project using C RPC
A Project in Distributed Computing at IIIT-Delhi
|
#include <stdio.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <signal.h>#include <rpc/rpc.h>#include <rpc/pmap_clnt.h>#include <errno.h>#include <assert.h>#include "server.h"

Go to the source code of this file.
Data Structures | |
| struct | sigaction |
Functions | |
| void * | callbackfromwbs_1 (OneLn *argp, CLIENT *clnt) |
| long | atoir (char *p, int r) |
| int | openxwindow (char *, char *) |
| void | drawline (void *) |
| void | closexwindow () |
| int | trackpointer (void *, int) |
| int | gethostname (char *name, size_t len) |
| int | pmap_unset (unsigned long, unsigned long) |
| int | sigaction (int, const struct sigaction *, struct sigaction *) |
| int | sigemptyset (sigset_t *set) |
| int | kill (pid_t pid, int sig) |
| long atoir | ( | char * | p, |
| int | r | ||
| ) |
Definition at line 163 of file xwindow.c.
References closexwindow(), OneLn::color, drawline(), main(), openxwindow(), trackpointer(), OneLn::x1, OneLn::x2, OneLn::y1, and OneLn::y2.
Referenced by startclient().


| void* callbackfromwbs_1 | ( | OneLn * | argp, |
| CLIENT * | clnt | ||
| ) |
| void closexwindow | ( | ) |
Definition at line 73 of file xwindow.c.
References Xwindow::display.
Referenced by atoir(), and endtheclient().

| void drawline | ( | void * | ) |
| int gethostname | ( | char * | name, |
| size_t | len | ||
| ) |
| int kill | ( | pid_t | pid, |
| int | sig | ||
| ) |
Referenced by callbackfromwbs_1_svc(), and endtheclient().

| int openxwindow | ( | char * | , |
| char * | |||
| ) |
| int pmap_unset | ( | unsigned | long, |
| unsigned | long | ||
| ) |
| int sigemptyset | ( | sigset_t * | set | ) |
| int trackpointer | ( | void * | , |
| int | |||
| ) |