WhiteBoard Project using C RPC
A Project in Distributed Computing at IIIT-Delhi
wb.h
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <unistd.h>
3 #include <string.h>
4 #include <sys/types.h>
5 #include <sys/socket.h>
6 #include <signal.h>
7 #include <rpc/rpc.h>
8 #include <rpc/pmap_clnt.h>
9 #include <errno.h>
10 #include <assert.h>
11 
12 #include "server.h" /* generated by rpcgen */
13 
14 void *callbackfromwbs_1 (OneLn * argp, CLIENT * clnt);
15 
16 /* in xwindow.c */
17 long atoir (char *p, int r);
18 int openxwindow (char *, char *);
19 void drawline (void *);
20 void closexwindow ();
21 int trackpointer (void *, int);
22 
23 /* kludge inclusions */
24 
25 int gethostname (char *name, size_t len);
26 int pmap_unset (unsigned long, unsigned long); /* unregister with OS */
27 
28 struct sigaction
29 {
30  void (*sa_handler) (int);
31  void (*sa_sigaction) (int, void *, void *);
32  sigset_t sa_mask;
33  int sa_flags;
34  void (*sa_restorer) (void);
35 };
36 int sigaction (int, const struct sigaction *, struct sigaction *);
37 int sigemptyset (sigset_t * set);
38 int kill (pid_t pid, int sig);
39 
40 /* -eof- */
Definition: oneln.h:2
int sigemptyset(sigset_t *set)
int sigaction(int, const struct sigaction *, struct sigaction *)
long atoir(char *p, int r)
Definition: xwindow.c:163
int gethostname(char *name, size_t len)
int pmap_unset(unsigned long, unsigned long)
int openxwindow(char *, char *)
int sa_flags
Definition: wb.h:33
void(* sa_handler)(int)
Definition: wb.h:30
void(* sa_sigaction)(int, void *, void *)
Definition: wb.h:31
void closexwindow()
Definition: xwindow.c:73
void(* sa_restorer)(void)
Definition: wb.h:34
int kill(pid_t pid, int sig)
Definition: wb.h:28
sigset_t sa_mask
Definition: wb.h:32
void * callbackfromwbs_1(OneLn *argp, CLIENT *clnt)
void drawline(void *)
int trackpointer(void *, int)