RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: Decleared all the header files useful for this program i.e stdio.h,stdlib.h,unistd.h,signal.h Also decleared the structure of req_client which incerand and also pid . Gave the prototype for invoke_req_client . Gave the prototype for invoke_pro_client. Also Gave the prototypes for reading the request from req_client and. Also gave the prototypes for signal() used in the program. ---------------------------- revision 1.1 locked by: root; date: 2015/04/15 06:22:33; author: root; state: Exp; Initial revision ============================================================================= RCS file: req_add.c,v Working file: req_add.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is requesting client requesting for add()operation. The req_add wrote the request to the server by using pipes and signals. The request includes operator and 2 operands on whbe performed . it also includes the pid in the request . After that it accepts the result from the server by using pipes . Decleared the signal handler and also signal handler function. ---------------------------- revision 1.1 locked by: root; date: 2015/04/15 06:32:15; author: root; state: Exp; Initial revision ============================================================================= RCS file: req_sub.c,v Working file: req_sub.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is requesting client requesting for the sub() operation. The req_sub wrote the request which includes operator and operands and pid to the server . ---------------------------- revision 1.2 locked by: root; date: 2015/04/15 06:40:01; author: root; state: Exp; lines: +24 -0 Accepts the result send by the server . Decleared the signal handler and signal handler function. ---------------------------- revision 1.1 date: 2015/04/15 06:39:02; author: root; state: Exp; Initial revision ============================================================================= RCS file: req_mul.c,v Working file: req_mul.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is requesting client requesting for multiplication operation. Req_mul wrote the request which includes operator,operands and pid to the server. ---------------------------- revision 1.2 locked by: root; date: 2015/04/15 06:48:49; author: root; state: Exp; lines: +2 -1 Accepts the request#[C#[C#[C#[C#[C#[. Accepts the result from the server. Decleared the signal handler and signal handler function. ---------------------------- revision 1.1 date: 2015/04/15 06:43:15; author: root; state: Exp; Initial revision ============================================================================= RCS file: adder.c,v Working file: adder.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is processing client . Accepting the request from the server. Performing the add operation on the operands. Accepted the request by using pipes . ---------------------------- revision 1.2 date: 2015/04/15 07:27:18; author: root; state: Exp; lines: +1 -1 Performed the operation and also computed the result . Worte back result to the server through pipes. also used the kill()signal. ---------------------------- revision 1.1 date: 2015/04/15 07:22:18; author: root; state: Exp; Initial revision ============================================================================= RCS file: subtractor.c,v Working file: subtractor.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is processing client. Accepting the request frm the server through pipes . Performing sub operation on the operands. ---------------------------- revision 1.2 locked by: root; date: 2015/04/15 07:33:02; author: root; state: Exp; lines: +0 -1 Performed the operation and also computed the result. Wrote back result to the server through pipes. Also used the kill()signal. ---------------------------- revision 1.1 date: 2015/04/15 07:32:09; author: root; state: Exp; Initial revision ============================================================================= RCS file: multiplier.c,v Working file: multiplier.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is processing client. Accepting the request from the server through pipes. Performing the mul operation on the operands . ---------------------------- revision 1.2 locked by: root; date: 2015/04/15 07:39:55; author: root; state: Exp; lines: +0 -1 Performed the result and computed the result. Send back the result to the server through pipes . Also used kill()signal. ---------------------------- revision 1.1 date: 2015/04/15 07:39:02; author: root; state: Exp; Initial revision ============================================================================= RCS file: server.c,v Working file: server.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: Accepting different different requests from the 3 different clients that are req_add(),req_sub(),req_mul(). Through pipes. Created another pipe. between server and 3 processing clients. invoked the pro_client and passed all the 3 requests to the different different pro_clients. ---------------------------- revision 1.2 locked by: root; date: 2015/04/15 07:13:32; author: root; state: Exp; lines: +0 -1 Accepting the result from the pro_clients through pipe . Sending back the result to the req_clients through pipe. Also use the signals for synchronization. ./ ---------------------------- revision 1.1 date: 2015/04/15 07:03:27; author: root; state: Exp; Initial revision =============================================================================