RCS file: declaration.h,v
Working file: declaration.h
head: 1.6
branch:
locks: strict
abhi: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
This header file contain all the declaration of
functions used in mdc
----------------------------
revision 1.6 locked by: abhi;
date: 2017/07/07 06:18:13; author: abhi;
state: Exp; lines: +0 -1
Deleted the function openfilew.c
----------------------------
revision 1.5
date: 2017/07/04 16:37:36; author: abhi;
state: Exp; lines: +8 -6
Adde dtwo new function FindIndex and openfilew
----------------------------
revision 1.4
date: 2017/07/03 16:54:24; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/03 16:47:17; author: abhi;
state: Exp; lines: +8 -0
Added new Codelength and Compression(2-7)
function
----------------------------
revision 1.2
date: 2017/07/03 09:52:06; author: abhi;
state: Exp; lines: +2 -1
Added a new function master array
changed a function name.
----------------------------
revision 1.1
date: 2017/06/30 16:10:33; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: header.h,v
Working file: header.h
head: 1.3
branch:
locks: strict
abhi: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This header file contain all the header files
that will be used in mdc like <stdio.h> and <stdlib.h>
----------------------------
revision 1.3 locked by: abhi;
date: 2017/07/04 16:52:51; author: abhi;
state: Exp; lines: +1 -0
Added a new header file
----------------------------
revision 1.2
date: 2017/07/04 16:49:03; author: abhi;
state: Exp; lines: +1 -1
Added a new header file
----------------------------
revision 1.1
date: 2017/06/30 16:11:20; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Code_length.c,v
Working file: Code_length.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This function checks the code lenth of the value
and return a an appropiate value so tha function can be called
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/03 16:56:33; author: abhi;
state: Exp; lines: +0 -1
se
----------------------------
revision 1.1
date: 2017/07/03 16:47:48; author: abhi;
state: Exp;
Initial revision
RCS file: Compression2.c,v
Working file: Compression2.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
Only prints start and end
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:38:31; author: abhi;
state: Exp; lines: +1 -1
Passed 2 arguments
----------------------------
revision 1.1
date: 2017/07/03 16:48:35; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression3.c,v
Working file: Compression3.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:38:58; author: abhi;
state: Exp; lines: +1 -1
passed two Arguments .
----------------------------
revision 1.1
date: 2017/07/03 16:48:57; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression4.c,v
Working file: Compression4.c
head: 1.21
branch:
locks: strict
abhi: 1.21
access list:
symbolic names:
keyword substitution: kv
total revisions: 21; selected revisions: 21
description:
----------------------------
revision 1.21 locked by: abhi;
date: 2017/07/07 06:47:17; author: abhi;
state: Exp; lines: +1 -0
added write fx in if statmnet
----------------------------
revision 1.20
date: 2017/07/07 06:14:22; author: abhi;
state: Exp; lines: +15 -9
change the called function name
----------------------------
revision 1.19
date: 2017/07/06 06:46:30; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.18
date: 2017/07/06 06:44:52; author: abhi;
state: Exp; lines: +3 -0
Write ma into ek
----------------------------
revision 1.17
date: 2017/07/06 06:33:36; author: abhi;
state: Exp; lines: +3 -2
close file
----------------------------
revision 1.16
date: 2017/07/06 04:59:50; author: abhi;
state: Exp; lines: +5 -11
se
----------------------------
revision 1.15
date: 2017/07/05 07:20:05; author: abhi;
state: Exp; lines: +11 -14
se
----------------------------
revision 1.14
date: 2017/07/05 06:45:05; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.13
date: 2017/07/05 06:43:33; author: abhi;
state: Exp; lines: +3 -1
se
revision 1.12
date: 2017/07/05 06:41:36; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.11
date: 2017/07/05 06:41:12; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.10
date: 2017/07/05 06:38:08; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.9
date: 2017/07/05 06:37:03; author: abhi;
state: Exp; lines: +4 -4
se
----------------------------
revision 1.8
date: 2017/07/05 06:34:25; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/05 06:33:47; author: abhi;
state: Exp; lines: +11 -1
Added a while loop to print binary values in byt
----------------------------
revision 1.6
date: 2017/07/04 17:25:17; author: abhi;
state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.5
date: 2017/07/04 17:23:12; author: abhi;
state: Exp; lines: +4 -3
testing
----------------------------
revision 1.4
date: 2017/07/04 17:18:37; author: abhi;
state: Exp; lines: +14 -2
assigned an Chracter code to the index of the
main array
then store it in a chracter used left and right
shift opertor and write the binary code sin compressed file
----------------------------
revision 1.3
date: 2017/07/04 17:05:52; author: abhi;
state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.2
date: 2017/07/04 16:39:10; author: abhi;
state: Exp; lines: +21 -3
called the function openfilew to open two files
which willl store the Compressed file and encrypted file
Reads the chracter one by one and print it
Called the function Findindex which will find
the index value of the chracter stored in main array
and print it
----------------------------
revision 1.1
date: 2017/07/03 16:49:10; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression5.c,v
Working file: Compression5.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:41:56; author: abhi;
state: Exp; lines: +1 -1
passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:11; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression6.c,v
Working file: Compression6.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:42:12; author: abhi;
state: Exp; lines: +1 -1
Passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:12; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression7.c,v
Working file: Compression7.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:42:24; author: abhi;
state: Exp; lines: +1 -1
Passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:13; author: abhi;
state: Exp;
Initial revision
RCS file: Compression.c,v
Working file: Compression.c
head: 1.13
branch:
locks: strict
abhi: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
This file is used for compression .It reads the
chracter one by one from a file if the chracter is repated then it is
not stored in main array
Basically it checks the uniquness of the
chracter
----------------------------
revision 1.13 locked by: abhi;
date: 2017/07/07 06:14:44; author: abhi;
state: Exp; lines: +1 -1
Changed the called function name
----------------------------
revision 1.12
date: 2017/07/05 07:20:18; author: abhi;
state: Exp; lines: +3 -2
se
----------------------------
revision 1.11
date: 2017/07/04 16:55:15; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.10
date: 2017/07/04 16:53:53; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.9
date: 2017/07/04 16:47:26; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.8
date: 2017/07/04 16:46:09; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/04 16:42:32; author: abhi;
state: Exp; lines: +8 -7
Added lseek so that the filedescriptor will move
to 1st position of main array
----------------------------
revision 1.6
date: 2017/07/04 07:08:23; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/03 16:51:57; author: abhi;
state: Exp; lines: +2 -0
se
----------------------------
revision 1.4
date: 2017/07/03 16:49:14; author: abhi;
state: Exp; lines: +22 -2
Added new variable to check the length of string
called Coodelenght function
used switch statment to call appropriate
compression function
----------------------------
revision 1.3
date: 2017/07/03 09:57:16; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/03 09:52:37; author: abhi;
state: Exp; lines: +5 -34
created a new function from this function
----------------------------
revision 1.1
date: 2017/06/30 16:18:48; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Create_Master_Array.c,v
Working file: Create_Master_Array.c
head: 1.8
branch:
locks: strict
abhi: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
A master array is created which will return the
unique chracter of file
----------------------------
revision 1.8 locked by: abhi;
date: 2017/07/07 06:55:02; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/07 06:54:24; author: abhi;
state: Exp; lines: +9 -7
changed malloc to realloc
----------------------------
revision 1.6
date: 2017/07/05 07:20:24; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/04 16:43:37; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.4
date: 2017/07/03 10:03:04; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/03 09:58:57; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/03 09:56:06; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.1
date: 2017/07/03 09:54:05; author: abhi;
state: Exp;
RCS file: data.c,v
Working file: data.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the Main program
it contains the main fxn
it has a switch statment throgh which we can
choose Compression and decompression
----------------------------
revision 1.1 locked by: abhi;
date: 2017/06/30 16:20:55; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression.c,v
Working file: Decompression.c
head: 1.3
branch:
locks: strict
abhi: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
It only prints that Decompression is starting
----------------------------
revision 1.3 locked by: abhi;
date: 2017/07/07 06:54:36; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.2
date: 2017/07/07 06:47:48; author: abhi;
state: Exp; lines: +13 -1
opened 2 files.
called create master array function
----------------------------
revision 1.1
date: 2017/06/30 16:22:51; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: DisplayMenu.c,v
Working file: DisplayMenu.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the Main menu of the program it display
the option of Compression and Decompression
It also returns the value of the choice
----------------------------
revision 1.1 locked by: abhi;
date: 2017/06/30 16:23:16; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Findindex.c,v
Working file: Findindex.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This function will find the Index value in the
main array
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/04 16:44:20; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Open_file.c,v
Working file: Open_file.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
Created a new function to open file both in rd
and wr mode
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/07 06:20:06; author: abhi;
state: Exp; lines: +6 -3
se
----------------------------
revision 1.1
date: 2017/07/07 06:14:59; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: OpenFile.c,v
Working file: OpenFile.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This is used to open the file
It returns the value of filediscriptor to
Compression function
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/03 09:54:49; author: abhi;
state: Exp; lines: +1 -1
Changed the function name
----------------------------
revision 1.1
date: 2017/06/30 16:24:33; author: abhi;
state: Exp;
Initial revision
RCS file: Open_Filew.c,v
Working file: Open_Filew.c
head: 1.4
branch:
locks: strict
abhi: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
This function will open the file in write mode
----------------------------
revision 1.4 locked by: abhi;
date: 2017/07/04 17:09:34; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/04 17:07:39; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/04 16:55:59; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 16:44:51; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: declarations.h,v
Working file: declarations.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
----------------------------
revision 1.10 locked by: root;
date: 2017/07/06 16:35:15; author: root; state: Exp; lines: +1 -2
merged openfilew and openfiler in openfile
----------------------------
revision 1.9
date: 2017/07/06 16:02:02; author: root; state: Exp; lines: +0 -1
removed byte datatype
----------------------------
revision 1.8
date: 2017/07/06 05:06:21; author: root; state: Exp; lines: +1 -0
added openfilew function
----------------------------
revision 1.7
date: 2017/07/06 04:48:18; author: root; state: Exp; lines: +1 -0
declared unsigned chare as byte
----------------------------
revision 1.6
date: 2017/07/06 04:37:52; author: root; state: Exp; lines: +1 -0
added findIndex function
----------------------------
revision 1.5
date: 2017/07/04 04:45:34; author: root; state: Exp; lines: +7 -0
declared codeLength and compress 2-7
----------------------------
revision 1.4
date: 2017/07/04 04:22:32; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/04 04:17:43; author: root; state: Exp; lines: +1 -0
added createMasterArray function
----------------------------
revision 1.2
date: 2017/07/04 01:54:04; author: root; state: Exp; lines: +4 -0
added function declaration compression openfiler and displayMenu
----------------------------
revision 1.1
date: 2017/07/03 04:33:10; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: header.h,v
Working file: header.h
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
header put into rcs
----------------------------
revision 1.5 locked by: root;
date: 2017/07/04 04:27:26; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.4
date: 2017/07/04 04:26:32; author: root; state: Exp; lines: +1 -0
include string.h
----------------------------
revision 1.3
date: 2017/07/03 06:07:10; author: root; state: Exp; lines: +1 -0
included fcntl.h
----------------------------
revision 1.2
date: 2017/07/03 04:33:34; author: root; state: Exp; lines: +2 -0
added stdio and stdlib
----------------------------
revision 1.1
date: 2017/07/02 06:27:50; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: codeLength.c,v
Working file: codeLength.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
function to find codelength corresponding to unique charaters in master array
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 04:45:54; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress2.c,v
Working file: compress2.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
compress if 2 codelength(cl)
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 04:46:17; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress3.c,v
Working file: compress3.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress cl 3
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:12; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:41; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress4.c,v
Working file: compress4.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
compress 4 cl
----------------------------
revision 1.8 locked by: root;
date: 2017/07/06 16:35:34; author: root; state: Exp; lines: +7 -2
used openfile
----------------------------
revision 1.7
date: 2017/07/06 16:02:17; author: root; state: Exp; lines: +1 -2
used char data type for byte in place of unsigned char
----------------------------
revision 1.6
date: 2017/07/06 05:08:50; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/06 05:06:34; author: root; state: Exp; lines: +10 -4
created encrypted and compressed file through openfilew
and written data to compressed file
----------------------------
revision 1.4
date: 2017/07/06 04:48:35; author: root; state: Exp; lines: +1 -0
used lseek
----------------------------
revision 1.3
date: 2017/07/06 04:38:14; author: root; state: Exp; lines: +24 -0
finding index of read character in master array
----------------------------
revision 1.2
date: 2017/07/04 04:51:16; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:48; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress5.c,v
Working file: compress5.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 5 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:18; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:53; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress6.c,v
Working file: compress6.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 6 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:20; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:59; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress7.c,v
Working file: compress7.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 7 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:22; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:47:03; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compression.c,v
Working file: compression.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
seperated compression function in this file
----------------------------
revision 1.5 locked by: root;
date: 2017/07/06 16:36:08; author: root; state: Exp; lines: +1 -1
used openfile
----------------------------
revision 1.4
date: 2017/07/04 04:47:09; author: root; state: Exp; lines: +25 -2
calling compress 2-7 function according to code length
----------------------------
revision 1.3
date: 2017/07/04 04:26:41; author: root; state: Exp; lines: +3 -2
found no of distinct characters
----------------------------
revision 1.2
date: 2017/07/04 04:18:00; author: root; state: Exp; lines: +2 -21
seperated create master array part
----------------------------
revision 1.1
date: 2017/07/04 01:54:42; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: createMasterArray.c,v
Working file: createMasterArray.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
moved createMasterArray function to this file
----------------------------
revision 1.4 locked by: root;
date: 2017/07/06 16:55:44; author: root; state: Exp; lines: +2 -1
also checked if read returns 0 so that it can be used for getting encryption key
----------------------------
revision 1.3
date: 2017/07/06 16:36:18; author: root; state: Exp; lines: +10 -0
*** empty log message ***
----------------------------
revision 1.2
date: 2017/07/06 16:02:42; author: root; state: Exp; lines: +6 -2
used realloc in place of malloc
And used infinite while loop in place of while loop which checked for \n
because last character was to be reserved for \n
and using while loop which checked for \n increase the character count by 1
----------------------------
revision 1.1
date: 2017/07/04 04:18:23; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: decompression.c,v
Working file: decompression.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
created decompression fn
----------------------------
revision 1.5 locked by: root;
date: 2017/07/06 17:01:16; author: root; state: Exp; lines: +1 -1
ouput formatted
----------------------------
revision 1.4
date: 2017/07/06 16:59:50; author: root; state: Exp; lines: +3 -1
written function name at begin and end
----------------------------
revision 1.3
date: 2017/07/06 16:57:56; author: root; state: Exp; lines: +3 -1
se
----------------------------
revision 1.2
date: 2017/07/06 16:56:28; author: root; state: Exp; lines: +8 -0
getting encryption key
----------------------------
revision 1.1
date: 2017/07/04 04:18:47; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: displayMenu.c,v
Working file: displayMenu.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
seperated displayMenu in this file
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 01:54:58; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: findIndex.c,v
Working file: findIndex.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
function to find index of a character in master array
----------------------------
revision 1.1 locked by: root;
date: 2017/07/06 04:39:12; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.29
branch:
locks: strict
root: 1.29
access list:
symbolic names:
keyword substitution: kv
total revisions: 29; selected revisions: 29
description:
----------------------------
revision 1.29 locked by: root;
date: 2017/07/04 04:19:02; author: root; state: Exp; lines: +1 -1
decompression function called
----------------------------
revision 1.28
date: 2017/07/04 01:56:45; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.27
date: 2017/07/04 01:55:09; author: root; state: Exp; lines: +2 -64
remove the functions from this file and defined them in different file
----------------------------
revision 1.26
date: 2017/07/04 01:27:39; author: root; state: Exp; lines: +1 -3
master array issur resolved
----------------------------
revision 1.25
date: 2017/07/04 01:09:21; author: root; state: Exp; lines: +1 -1
m_arr issue
----------------------------
revision 1.24
date: 2017/07/04 00:59:25; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.23
date: 2017/07/04 00:58:50; author: root; state: Exp; lines: +2 -1
correct m_arr
----------------------------
revision 1.22
date: 2017/07/04 00:55:27; author: root; state: Exp; lines: +1 -1
correcting m_arr
----------------------------
revision 1.21
date: 2017/07/04 00:53:06; author: root; state: Exp; lines: +3 -2
identifying unique character master array
----------------------------
revision 1.20
date: 2017/07/04 00:50:09; author: root; state: Exp; lines: +4 -4
Added new line in End printing
----------------------------
revision 1.19
date: 2017/07/04 00:47:30; author: root; state: Exp; lines: +14 -11
written begin and end function name in each function
----------------------------
revision 1.18
date: 2017/07/04 00:42:40; author: root; state: Exp; lines: +3 -1
identifying unique characters
----------------------------
revision 1.17
date: 2017/07/04 00:40:12; author: root; state: Exp; lines: +2 -1
unique characters not identified
----------------------------
revision 1.16
date: 2017/07/04 00:36:38; author: root; state: Exp; lines: +2 -1
initialize loop iterator in compression
----------------------------
revision 1.15
date: 2017/07/04 00:33:38; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.14
date: 2017/07/04 00:33:02; author: root; state: Exp; lines: +8 -6
se
----------------------------
revision 1.13
date: 2017/07/04 00:22:37; author: root; state: Exp; lines: +15 -4
try to identify unique character and store it in master array
----------------------------
revision 1.12
date: 2017/07/03 06:16:06; author: root; state: Exp; lines: +1 -1
not desired working
----------------------------
revision 1.11
date: 2017/07/03 06:15:20; author: root; state: Exp; lines: +15 -0
made compression function
----------------------------
revision 1.10
date: 2017/07/03 06:08:49; author: root; state: Exp; lines: +2 -2
se
----------------------------
revision 1.9
date: 2017/07/03 06:08:11; author: root; state: Exp; lines: +0 -5
se
----------------------------
revision 1.8
date: 2017/07/03 06:06:07; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/03 06:04:43; author: root; state: Exp; lines: +20 -0
made openfiler() function
----------------------------
revision 1.6
date: 2017/07/03 05:41:30; author: root; state: Exp; lines: +14 -5
made displayMenu function
----------------------------
revision 1.5
date: 2017/07/03 05:08:26; author: root; state: Exp; lines: +19 -15
displayed main menu in continuous loop
----------------------------
revision 1.4
date: 2017/07/03 05:04:05; author: root; state: Exp; lines: +1 -1
syntax error (se)
----------------------------
revision 1.3
date: 2017/07/03 05:02:46; author: root; state: Exp; lines: +14 -2
displayed menu properly.
Earlier menu not in order.
----------------------------
revision 1.2
date: 2017/07/03 04:56:50; author: root; state: Exp; lines: +14 -0
displayed menu with it's code in main function
----------------------------
revision 1.1
date: 2017/07/03 04:34:06; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfile.c,v
Working file: openfile.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
made this by merging openfiler and openfilew
taking mode as argument
----------------------------
revision 1.1 locked by: root;
date: 2017/07/06 16:37:34; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfiler.c,v
Working file: openfiler.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
seperated openfiler function in this file
----------------------------
revision 1.2 locked by: root;
date: 2017/07/06 05:07:26; author: root; state: Exp; lines: +2 -0
written Begin and end statement to print function name
----------------------------
revision 1.1
date: 2017/07/04 01:55:56; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfilew.c,v
Working file: openfilew.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
function to open file for writing and if it does not exist then create it
----------------------------
revision 1.2 locked by: root;
date: 2017/07/06 05:09:21; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/06 05:07:52; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: declaration.h,v
Working file: declaration.h
head: 1.7
branch:
locks: strict
abhi: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
This header file contain all the declaration of
functions used in mdc
----------------------------
revision 1.7 locked by: abhi;
date: 2017/07/07 10:45:37; author: abhi;
state: Exp; lines: +6 -1
Added new function for Decompression
----------------------------
revision 1.6
date: 2017/07/07 06:18:13; author: abhi;
state: Exp; lines: +0 -1
Deleted the function openfilew.c
----------------------------
revision 1.5
date: 2017/07/04 16:37:36; author: abhi;
state: Exp; lines: +8 -6
Adde dtwo new function FindIndex and openfilew
----------------------------
revision 1.4
date: 2017/07/03 16:54:24; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/03 16:47:17; author: abhi;
state: Exp; lines: +8 -0
Added new Codelength and Compression(2-7)
function
----------------------------
revision 1.2
date: 2017/07/03 09:52:06; author: abhi;
state: Exp; lines: +2 -1
Added a new function master array
changed a function name.
----------------------------
revision 1.1
date: 2017/06/30 16:10:33; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: header.h,v
Working file: header.h
head: 1.3
branch:
locks: strict
abhi: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This header file contain all the header files
that will be used in mdc like <stdio.h> and <stdlib.h>
----------------------------
revision 1.3 locked by: abhi;
date: 2017/07/04 16:52:51; author: abhi;
state: Exp; lines: +1 -0
Added a new header file
----------------------------
revision 1.2
date: 2017/07/04 16:49:03; author: abhi;
state: Exp; lines: +1 -1
Added a new header file
----------------------------
revision 1.1
date: 2017/06/30 16:11:20; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Code_length.c,v
Working file: Code_length.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This function checks the code lenth of the value
and return a an appropiate value so tha function can be called
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/03 16:56:33; author: abhi;
state: Exp; lines: +0 -1
se
----------------------------
revision 1.1
date: 2017/07/03 16:47:48; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression2.c,v
Working file: Compression2.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
Only prints start and end
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:38:31; author: abhi;
state: Exp; lines: +1 -1
Passed 2 arguments
----------------------------
revision 1.1
date: 2017/07/03 16:48:35; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression3.c,v
Working file: Compression3.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:38:58; author: abhi;
state: Exp; lines: +1 -1
passed two Arguments .
----------------------------
revision 1.1
date: 2017/07/03 16:48:57; author: abhi;
state: Exp;
Initial revision
RCS file: Compression4.c,v
Working file: Compression4.c
head: 1.27
branch:
locks: strict
abhi: 1.27
access list:
symbolic names:
keyword substitution: kv
total revisions: 27; selected revisions: 27
description:
----------------------------
revision 1.27 locked by: abhi;
date: 2017/07/10 06:05:14; author: abhi;
state: Exp; lines: +7 -7
se
..
----------------------------
revision 1.26
date: 2017/07/10 05:56:53; author: abhi;
state: Exp; lines: +8 -8
changed c to array
----------------------------
revision 1.25
date: 2017/07/10 05:32:24; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.24
date: 2017/07/07 12:25:50; author: abhi;
state: Exp; lines: +1 -8
se
----------------------------
revision 1.23
date: 2017/07/07 12:24:04; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.22
date: 2017/07/07 12:20:38; author: abhi;
state: Exp; lines: +8 -1
se
----------------------------
revision 1.21
date: 2017/07/07 06:47:17; author: abhi;
state: Exp; lines: +1 -0
added write fx in if statmnet
----------------------------
revision 1.20
date: 2017/07/07 06:14:22; author: abhi;
state: Exp; lines: +15 -9
change the called function name
----------------------------
revision 1.19
date: 2017/07/06 06:46:30; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.18
date: 2017/07/06 06:44:52; author: abhi;
state: Exp; lines: +3 -0
Write ma into ek
----------------------------
revision 1.17
date: 2017/07/06 06:33:36; author: abhi;
state: Exp; lines: +3 -2
close file
----------------------------
revision 1.16
date: 2017/07/06 04:59:50; author: abhi;
state: Exp; lines: +5 -11
se
----------------------------
revision 1.15
date: 2017/07/05 07:20:05; author: abhi;
state: Exp; lines: +11 -14
se
----------------------------
revision 1.14
date: 2017/07/05 06:45:05; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.13
date: 2017/07/05 06:43:33; author: abhi;
state: Exp; lines: +3 -1
se
----------------------------
revision 1.12
date: 2017/07/05 06:41:36; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.11
date: 2017/07/05 06:41:12; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.10
date: 2017/07/05 06:38:08; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.9
date: 2017/07/05 06:37:03; author: abhi;
state: Exp; lines: +4 -4
se
----------------------------
revision 1.8
date: 2017/07/05 06:34:25; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/05 06:33:47; author: abhi;
state: Exp; lines: +11 -1
Added a while loop to print binary values in byt
----------------------------
revision 1.6
date: 2017/07/04 17:25:17; author: abhi;
state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.5
date: 2017/07/04 17:23:12; author: abhi;
state: Exp; lines: +4 -3
testing
----------------------------
revision 1.4
date: 2017/07/04 17:18:37; author: abhi;
state: Exp; lines: +14 -2
assigned an Chracter code to the index of the
main array
then store it in a chracter used left and right
shift opertor and write the binary code sin compressed file
----------------------------
revision 1.3
date: 2017/07/04 17:05:52; author: abhi;
state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.2
date: 2017/07/04 16:39:10; author: abhi;
state: Exp; lines: +21 -3
called the function openfilew to open two files
which willl store the Compressed file and encrypted file
Reads the chracter one by one and print it
Called the function Findindex which will find
the index value of the chracter stored in main array
and print it
----------------------------
revision 1.1
date: 2017/07/03 16:49:10; author: abhi;
state: Exp;
Initial revision
RCS file: Compression5.c,v
Working file: Compression5.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:41:56; author: abhi;
state: Exp; lines: +1 -1
passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:11; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression6.c,v
Working file: Compression6.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:42:12; author: abhi;
state: Exp; lines: +1 -1
Passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:12; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression7.c,v
Working file: Compression7.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/04 16:42:24; author: abhi;
state: Exp; lines: +1 -1
Passed two arguments
----------------------------
revision 1.1
date: 2017/07/03 16:49:13; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Compression.c,v
Working file: Compression.c
head: 1.13
branch:
locks: strict
abhi: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
This file is used for compression .It reads the
chracter one by one from a file if the chracter is repated then it is
not stored in main array
Basically it checks the uniquness of the
chracter
----------------------------
revision 1.13 locked by: abhi;
date: 2017/07/07 06:14:44; author: abhi;
state: Exp; lines: +1 -1
Changed the called function name
----------------------------
revision 1.12
date: 2017/07/05 07:20:18; author: abhi;
state: Exp; lines: +3 -2
se
----------------------------
revision 1.11
date: 2017/07/04 16:55:15; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.10
date: 2017/07/04 16:53:53; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.9
date: 2017/07/04 16:47:26; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.8
date: 2017/07/04 16:46:09; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/04 16:42:32; author: abhi;
state: Exp; lines: +8 -7
Added lseek so that the filedescriptor will move
to 1st position of main array
----------------------------
revision 1.6
date: 2017/07/04 07:08:23; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/03 16:51:57; author: abhi;
state: Exp; lines: +2 -0
se
----------------------------
revision 1.4
date: 2017/07/03 16:49:14; author: abhi;
state: Exp; lines: +22 -2
Added new variable to check the length of string
called Coodelenght function
used switch statment to call appropriate
compression function
----------------------------
revision 1.3
date: 2017/07/03 09:57:16; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/03 09:52:37; author: abhi;
state: Exp; lines: +5 -34
created a new function from this function
----------------------------
revision 1.1
date: 2017/06/30 16:18:48; author: abhi;
state: Exp;
Initial revision
RCS file: Create_Master_Array.c,v
Working file: Create_Master_Array.c
head: 1.8
branch:
locks: strict
abhi: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
A master array is created which will return the
unique chracter of file
----------------------------
revision 1.8 locked by: abhi;
date: 2017/07/07 06:55:02; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/07 06:54:24; author: abhi;
state: Exp; lines: +9 -7
changed malloc to realloc
----------------------------
revision 1.6
date: 2017/07/05 07:20:24; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/04 16:43:37; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.4
date: 2017/07/03 10:03:04; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/03 09:58:57; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/03 09:56:06; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.1
date: 2017/07/03 09:54:05; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression2.c,v
Working file: Decompression2.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
contain print statment only
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/07 10:46:01; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression3.c,v
Working file: Decompression3.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
Contain print statment only
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/07 10:46:22; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression4.c,v
Working file: Decompression4.c
head: 1.7
branch:
locks: strict
abhi: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
Reads the compressed file and convert the code
into its int index values and print it
----------------------------
revision 1.7 locked by: abhi;
date: 2017/07/10 06:19:42; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.6
date: 2017/07/10 06:18:39; author: abhi;
state: Exp; lines: +2 -1
se
----------------------------
revision 1.5
date: 2017/07/10 06:17:02; author: abhi;
state: Exp; lines: +3 -2
used sprintf
----------------------------
revision 1.4
date: 2017/07/07 10:59:12; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/07 10:57:37; author: abhi;
state: Exp; lines: +13 -1
write statment to write into decompress file
----------------------------
revision 1.2
date: 2017/07/07 10:51:28; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/07 10:46:38; author: abhi;
state: Exp;
Initial revision
RCS file: Decompression5.c,v
Working file: Decompression5.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
contain print statment only
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/07 10:47:31; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression6.c,v
Working file: Decompression6.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
Contain print statment only
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/07 10:47:44; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression7.c,v
Working file: Decompression7.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
Contain print statmentonl
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/07 10:47:59; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Decompression.c,v
Working file: Decompression.c
head: 1.6
branch:
locks: strict
abhi: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
It only prints that Decompression is starting
----------------------------
revision 1.6 locked by: abhi;
date: 2017/07/07 11:29:57; author: abhi;
state: Exp; lines: +1 -1
se
removed warning
----------------------------
revision 1.5
date: 2017/07/07 10:51:03; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.4
date: 2017/07/07 10:48:14; author: abhi;
state: Exp; lines: +25 -3
calculate the string length of ekey
call function codelength
call decompress function accordingly to the
value returned by codelength func
----------------------------
revision 1.3
date: 2017/07/07 06:54:36; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.2
date: 2017/07/07 06:47:48; author: abhi;
state: Exp; lines: +13 -1
opened 2 files.
called create master array function
----------------------------
revision 1.1
date: 2017/06/30 16:22:51; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: DisplayMenu.c,v
Working file: DisplayMenu.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is the Main menu of the program it display
the option of Compression and Decompression
It also returns the value of the choice
----------------------------
revision 1.1 locked by: abhi;
date: 2017/06/30 16:23:16; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Findindex.c,v
Working file: Findindex.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This function will find the Index value in the
main array
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/04 16:44:20; author: abhi;
state: Exp;
Initial revision
RCS file: mdc.c,v
Working file: mdc.c
head: 1.1
branch:
locks: strict
abhi: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
Changed the file name to mdc
----------------------------
revision 1.1 locked by: abhi;
date: 2017/07/11 06:12:34; author: abhi;
state: Exp;
Initial revision
=============================================================================
RCS file: Open_file.c,v
Working file: Open_file.c
head: 1.5
branch:
locks: strict
abhi: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
Created a new function to open file both in rd
and wr mode
----------------------------
revision 1.5 locked by: abhi;
date: 2017/07/07 12:25:53; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.4
date: 2017/07/07 12:21:37; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.3
date: 2017/07/07 12:20:40; author: abhi;
state: Exp; lines: +3 -3
se
----------------------------
revision 1.2
date: 2017/07/07 06:20:06; author: abhi;
state: Exp; lines: +6 -3
se
----------------------------
revision 1.1
date: 2017/07/07 06:14:59; author: abhi;
state: Exp;
Initial revision
----------------------------
revision 1.9 locked by: abhi;
date: 2017/07/11 16:58:50; author: abhi;
state: Exp; lines: +1 -1
Passed an argument
----------------------------
revision 1.8
date: 2017/07/11 16:23:36; author: abhi;
state: Exp; lines: +1 -1
Changed the return type of display menu
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }
RCS file: Compression4.c,v
Working file: Compression4.c
head: 1.35
branch:
locks: strict
abhi: 1.35
access list:
symbolic names:
keyword substitution: kv
total revisions: 35; selected revisions: 35
description:
----------------------------
revision 1.35 locked by: abhi;
date: 2017/07/12 16:08:30; author: abhi;
state: Exp; lines: +8 -5
changed sprintf to char
----------------------------
revision 1.34
date: 2017/07/12 06:49:50; author: abhi;
state: Exp; lines: +2 -2
change all datatype to unsigned
----------------------------
revision 1.33
date: 2017/07/11 17:44:46; author: abhi;
state: Exp; lines: +1 -8
se
----------------------------
revision 1.32
date: 2017/07/11 17:39:53; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.31
date: 2017/07/11 17:38:58; author: abhi;
state: Exp; lines: +8 -1
testing the bits
----------------------------
revision 1.30
date: 2017/07/11 17:28:57; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.29
date: 2017/07/11 17:25:13; author: abhi;
state: Exp; lines: +8 -4
added new functon ptr
----------------------------
revision 1.28
date: 2017/07/11 17:05:31; author: abhi;
state: Exp; lines: +1 -1
Changed the char to unsigned char
----------------------------
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }
RCS file: Compression.c,v
Working file: Compression.c
head: 1.17
branch:
locks: strict
abhi: 1.17
access list:
symbolic names:
keyword substitution: kv
total revisions: 17; selected revisions: 17
description:
This file is used for compression .It reads the
chracter one by one from a file if the chracter is repated then it is
not stored in main array
Basically it checks the uniquness of the
chracter
----------------------------
revision 1.17 locked by: abhi;
date: 2017/07/11 17:25:25; author: abhi;
state: Exp; lines: +7 -2
added funnction ptr
----------------------------
revision 1.16
date: 2017/07/11 17:00:54; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.15
date: 2017/07/11 16:59:12; author: abhi;
state: Exp; lines: +24 -10
CHanged thee array of function ptr to normal
function ptr
----------------------------
revision 1.14
date: 2017/07/11 16:23:52; author: abhi;
state: Exp; lines: +18 -8
Used array of function ptr to call all the
function used in compression function
----------------------------
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }
RCS file: Decompression4.c,v
Working file: Decompression4.c
head: 1.21
branch:
locks: strict
abhi: 1.21
access list:
symbolic names:
keyword substitution: kv
total revisions: 21; selected revisions: 21
description:
Reads the compressed file and convert the code
into its int index values and print it
----------------------------
revision 1.21 locked by: abhi;
date: 2017/07/12 16:09:26; author: abhi;
state: Exp; lines: +7 -7
se
----------------------------
revision 1.20
date: 2017/07/12 06:58:51; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.19
date: 2017/07/12 06:57:45; author: abhi;
state: Exp; lines: +4 -3
se
----------------------------
revision 1.18
date: 2017/07/12 06:56:36; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.17
date: 2017/07/12 06:56:11; author: abhi;
state: Exp; lines: +7 -5
exror
----------------------------
revision 1.16
date: 2017/07/12 06:50:02; author: abhi;
state: Exp; lines: +7 -7
change all data type to unsigned
----------------------------
revision 1.15
date: 2017/07/12 06:41:20; author: abhi;
state: Exp; lines: +2 -1
close file discriptor
----------------------------
revision 1.14
date: 2017/07/12 06:23:16; author: abhi;
state: Exp; lines: +2 -2
se
----------------------------
revision 1.13
date: 2017/07/12 06:21:02; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.12
date: 2017/07/12 06:13:34; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.11
date: 2017/07/12 06:08:33; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.10
date: 2017/07/12 05:57:47; author: abhi;
state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.9
date: 2017/07/11 17:25:36; author: abhi;
state: Exp; lines: +4 -1
Added functon ptr
----------------------------
revision 1.8
date: 2017/07/11 17:05:48; author: abhi;
state: Exp; lines: +1 -1
Changed the char to unsigned char
----------------------------
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }
RCS file: Decompression.c,v
Working file: Decompression.c
head: 1.9
branch:
locks: strict
abhi: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
It only prints that Decompression is starting
----------------------------
revision 1.9 locked by: abhi;
date: 2017/07/12 06:41:36; author: abhi;
state: Exp; lines: +2 -2
close file discriptor
----------------------------
revision 1.8
date: 2017/07/11 17:26:17; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/11 17:25:45; author: abhi;
state: Exp; lines: +29 -10
Added function ptr
-----------------------
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }
RCS file: DisplayMenu.c,v
Working file: DisplayMenu.c
head: 1.2
branch:
locks: strict
abhi: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
This is the Main menu of the program it display
the option of Compression and Decompression
It also returns the value of the choice
----------------------------
revision 1.2 locked by: abhi;
date: 2017/07/11 16:24:34; author: abhi;
state: Exp; lines: +6 -6
Changed the choice user now have to input
chracter values for compression and decompression
----------------------------
RCS file: mdc.c,v
Working file: mdc.c
head: 1.4
branch:
locks: strict
abhi: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
Changed the file name to mdc
----------------------------
revision 1.4 locked by: abhi;
date: 2017/07/11 16:59:37; author: abhi;
state: Exp; lines: +1 -1
changed the return type of display menu
----------------------------
revision 1.3
date: 2017/07/11 16:26:26; author: abhi;
state: Exp; lines: +1 -1
se
----------------------------
revision 1.2
date: 2017/07/11 16:25:16; author: abhi;
state: Exp; lines: +14 -7
used function ptr to call function
----------------------------
revision 1.1
date: 2017/07/11 06:12:34; author: abhi;
state: Exp;
Initial revision
RCS file: declarations.h,v
Working file: declarations.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
----------------------------
revision 1.10 locked by: root;
date: 2017/07/06 16:35:15; author: root; state: Exp; lines: +1 -2
merged openfilew and openfiler in openfile
----------------------------
revision 1.9
date: 2017/07/06 16:02:02; author: root; state: Exp; lines: +0 -1
removed byte datatype
----------------------------
revision 1.8
date: 2017/07/06 05:06:21; author: root; state: Exp; lines: +1 -0
added openfilew function
----------------------------
revision 1.7
date: 2017/07/06 04:48:18; author: root; state: Exp; lines: +1 -0
declared unsigned chare as byte
----------------------------
revision 1.6
date: 2017/07/06 04:37:52; author: root; state: Exp; lines: +1 -0
added findIndex function
----------------------------
revision 1.5
date: 2017/07/04 04:45:34; author: root; state: Exp; lines: +7 -0
declared codeLength and compress 2-7
----------------------------
revision 1.4
date: 2017/07/04 04:22:32; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.3
date: 2017/07/04 04:17:43; author: root; state: Exp; lines: +1 -0
added createMasterArray function
----------------------------
revision 1.2
date: 2017/07/04 01:54:04; author: root; state: Exp; lines: +4 -0
added function declaration compression openfiler and displayMenu
----------------------------
revision 1.1
date: 2017/07/03 04:33:10; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: header.h,v
Working file: header.h
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
header put into rcs
----------------------------
revision 1.5 locked by: root;
date: 2017/07/04 04:27:26; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.4
date: 2017/07/04 04:26:32; author: root; state: Exp; lines: +1 -0
include string.h
----------------------------
revision 1.3
date: 2017/07/03 06:07:10; author: root; state: Exp; lines: +1 -0
included fcntl.h
----------------------------
revision 1.2
date: 2017/07/03 04:33:34; author: root; state: Exp; lines: +2 -0
added stdio and stdlib
----------------------------
revision 1.1
date: 2017/07/02 06:27:50; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: codeLength.c,v
Working file: codeLength.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
function to find codelength corresponding to unique charaters in master array
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 04:45:54; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress2.c,v
Working file: compress2.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
compress if 2 codelength(cl)
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 04:46:17; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress3.c,v
Working file: compress3.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress cl 3
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:12; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:41; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress4.c,v
Working file: compress4.c
head: 1.25
branch:
locks: strict
root: 1.25
access list:
symbolic names:
keyword substitution: kv
total revisions: 25; selected revisions: 25
description:
compress 4 cl
----------------------------
revision 1.25 locked by: root;
date: 2017/07/10 16:02:58; author: root; state: Exp; lines: +8 -11
solved the problem
when we do left shift or right shift of char it is first converted to int and then shifted then answer found out
in this when we were doing shift for second character read then char which had leftmost bit 1 were converted to int after left shift
and they had negative values which were converted to int and then when we do right shift then shift was done of negative values so answer wrong
e.g 0000 1010 in char first converted to int and left shift so int conv 0000 0000 0000 1010 left shift 0000 0000 1010 0000
now right shift had to be done so char value was 1010 0000 which was converted to int as it is (-96) so 1111 1111 1010 0000
then right shift 0000 1111 1111 1010 now this value was in char differet from what expected so we used unsigned char just after reading char
----------------------------
revision 1.24
date: 2017/07/10 15:38:03; author: root; state: Exp; lines: +1 -0
prev prob
----------------------------
revision 1.23
date: 2017/07/10 15:22:58; author: root; state: Exp; lines: +2 -1
prev prob
----------------------------
revision 1.22
date: 2017/07/10 15:20:30; author: root; state: Exp; lines: +1 -0
solving prev prob
----------------------------
revision 1.21
date: 2017/07/10 15:16:36; author: root; state: Exp; lines: +1 -0
solving prev problem
----------------------------
revision 1.20
date: 2017/07/10 15:01:36; author: root; state: Exp; lines: +1 -2
printing byte written on file
----------------------------
revision 1.19
date: 2017/07/10 14:15:29; author: root; state: Exp; lines: +2 -4
in sprintf changed template from %d to %c
%d was storing in char the number like 0 was stored as 0 character with ascii 48 but we needed 0 in place of 48
%c first converted int to char and 0 was stored as ascii 0
----------------------------
revision 1.18
date: 2017/07/10 11:24:56; author: root; state: Exp; lines: +4 -2
prev prob
----------------------------
revision 1.17
date: 2017/07/10 11:17:00; author: root; state: Exp; lines: +2 -2
printing char after sprintf typcasting int
----------------------------
revision 1.16
date: 2017/07/10 11:13:15; author: root; state: Exp; lines: +2 -4
printing char value after sprintf in integer form
----------------------------
revision 1.15
date: 2017/07/10 11:08:53; author: root; state: Exp; lines: +4 -3
solving compression prob
----------------------------
revision 1.14
date: 2017/07/10 10:50:03; author: root; state: Exp; lines: +1 -2
made ch from char to unsigned char
----------------------------
revision 1.13
date: 2017/07/10 10:43:03; author: root; state: Exp; lines: +2 -1
checking index after sprintf
----------------------------
revision 1.12
date: 2017/07/10 10:40:40; author: root; state: Exp; lines: +2 -1
solving above prob verifying index from getIndex
----------------------------
revision 1.11
date: 2017/07/10 10:21:21; author: root; state: Exp; lines: +2 -2
solving prev prob
----------------------------
revision 1.10
date: 2017/07/10 10:14:53; author: root; state: Exp; lines: +2 -0
error in writing file p not coming in plan
----------------------------
revision 1.9
date: 2017/07/10 09:29:06; author: root; state: Exp; lines: +2 -1
declared b as unsigned char
----------------------------
revision 1.8
date: 2017/07/06 16:35:34; author: root; state: Exp; lines: +7 -2
used openfile
----------------------------
revision 1.7
date: 2017/07/06 16:02:17; author: root; state: Exp; lines: +1 -2
used char data type for byte in place of unsigned char
----------------------------
revision 1.6
date: 2017/07/06 05:08:50; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.5
date: 2017/07/06 05:06:34; author: root; state: Exp; lines: +10 -4
created encrypted and compressed file through openfilew
and written data to compressed file
----------------------------
revision 1.4
date: 2017/07/06 04:48:35; author: root; state: Exp; lines: +1 -0
used lseek
----------------------------
revision 1.3
date: 2017/07/06 04:38:14; author: root; state: Exp; lines: +24 -0
finding index of read character in master array
----------------------------
revision 1.2
date: 2017/07/04 04:51:16; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:48; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress5.c,v
Working file: compress5.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 5 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:18; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:53; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress6.c,v
Working file: compress6.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 6 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:20; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:46:59; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compress7.c,v
Working file: compress7.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
compress 7 cl
----------------------------
revision 1.2 locked by: root;
date: 2017/07/04 04:51:22; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/04 04:47:03; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: compression.c,v
Working file: compression.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
seperated compression function in this file
----------------------------
revision 1.5 locked by: root;
date: 2017/07/06 16:36:08; author: root; state: Exp; lines: +1 -1
used openfile
----------------------------
revision 1.4
date: 2017/07/04 04:47:09; author: root; state: Exp; lines: +25 -2
calling compress 2-7 function according to code length
----------------------------
revision 1.3
date: 2017/07/04 04:26:41; author: root; state: Exp; lines: +3 -2
found no of distinct characters
----------------------------
revision 1.2
date: 2017/07/04 04:18:00; author: root; state: Exp; lines: +2 -21
seperated create master array part
----------------------------
revision 1.1
date: 2017/07/04 01:54:42; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: createMasterArray.c,v
Working file: createMasterArray.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
moved createMasterArray function to this file
----------------------------
revision 1.4 locked by: root;
date: 2017/07/06 16:55:44; author: root; state: Exp; lines: +2 -1
also checked if read returns 0 so that it can be used for getting encryption key
----------------------------
revision 1.3
date: 2017/07/06 16:36:18; author: root; state: Exp; lines: +10 -0
*** empty log message ***
----------------------------
revision 1.2
date: 2017/07/06 16:02:42; author: root; state: Exp; lines: +6 -2
used realloc in place of malloc
And used infinite while loop in place of while loop which checked for \n
because last character was to be reserved for \n
and using while loop which checked for \n increase the character count by 1
----------------------------
revision 1.1
date: 2017/07/04 04:18:23; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: decompression.c,v
Working file: decompression.c
head: 1.28
branch:
locks: strict
root: 1.28
access list:
symbolic names:
keyword substitution: kv
total revisions: 28; selected revisions: 28
description:
created decompression fn
----------------------------
revision 1.28 locked by: root;
date: 2017/07/10 16:40:49; author: root; state: Exp; lines: +2 -1
if last character is 1111 then break
----------------------------
revision 1.27
date: 2017/07/10 16:30:59; author: root; state: Exp; lines: +1 -1
writing to decompressed file
----------------------------
revision 1.26
date: 2017/07/10 16:28:41; author: root; state: Exp; lines: +1 -0
writing to decompressed file
----------------------------
revision 1.25
date: 2017/07/10 16:17:11; author: root; state: Exp; lines: +4 -11
storing data in decompressed file
----------------------------
revision 1.24
date: 2017/07/10 14:23:33; author: root; state: Exp; lines: +2 -2
testing output
----------------------------
revision 1.23
date: 2017/07/10 09:36:11; author: root; state: Exp; lines: +1 -2
declared unsigned char ch1 and ch2
----------------------------
revision 1.22
date: 2017/07/10 09:34:53; author: root; state: Exp; lines: +2 -1
declared ch as unsigned char
----------------------------
revision 1.21
date: 2017/07/10 09:20:15; author: root; state: Exp; lines: +2 -1
output not as desired
printing integer value of numbers
----------------------------
revision 1.20
date: 2017/07/10 08:52:55; author: root; state: Exp; lines: +4 -4
changed converting to int from char
earlier used atoi now doing type casting
atoi wrong because atoi will convert character to int.
but it will take char and convert to its ascii code
but here we required that value of character in int to be stored in variable
----------------------------
revision 1.19
date: 2017/07/10 05:29:46; author: root; state: Exp; lines: +2 -2
same
----------------------------
revision 1.18
date: 2017/07/10 05:28:03; author: root; state: Exp; lines: +4 -4
same
----------------------------
revision 1.17
date: 2017/07/10 05:26:28; author: root; state: Exp; lines: +1 -0
same
----------------------------
revision 1.16
date: 2017/07/10 05:24:45; author: root; state: Exp; lines: +2 -1
solving same prob
----------------------------
revision 1.15
date: 2017/07/10 05:23:33; author: root; state: Exp; lines: +4 -4
solving same prob
----------------------------
revision 1.14
date: 2017/07/10 05:12:37; author: root; state: Exp; lines: +2 -1
solving same prob
----------------------------
revision 1.13
date: 2017/07/10 05:09:57; author: root; state: Exp; lines: +3 -3
solving same prob
----------------------------
revision 1.12
date: 2017/07/10 05:08:44; author: root; state: Exp; lines: +2 -1
same prob
----------------------------
revision 1.11
date: 2017/07/10 05:06:38; author: root; state: Exp; lines: +2 -2
solving all g problem
----------------------------
revision 1.10
date: 2017/07/10 05:00:18; author: root; state: Exp; lines: +2 -1
getting all g's after decompression
----------------------------
revision 1.9
date: 2017/07/10 04:57:25; author: root; state: Exp; lines: +2 -2
not getting the characters in decompressed file
----------------------------
revision 1.8
date: 2017/07/10 04:54:51; author: root; state: Exp; lines: +4 -3
getting only gggg
----------------------------
revision 1.7
date: 2017/07/10 04:48:36; author: root; state: Exp; lines: +3 -2
storing gggggg in decomp file
----------------------------
revision 1.6
date: 2017/07/10 04:40:54; author: root; state: Exp; lines: +24 -1
testing decompression of 4 bits
----------------------------
revision 1.5
date: 2017/07/06 17:01:16; author: root; state: Exp; lines: +1 -1
ouput formatted
----------------------------
revision 1.4
date: 2017/07/06 16:59:50; author: root; state: Exp; lines: +3 -1
written function name at begin and end
----------------------------
revision 1.3
date: 2017/07/06 16:57:56; author: root; state: Exp; lines: +3 -1
se
----------------------------
revision 1.2
date: 2017/07/06 16:56:28; author: root; state: Exp; lines: +8 -0
getting encryption key
----------------------------
revision 1.1
date: 2017/07/04 04:18:47; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: displayMenu.c,v
Working file: displayMenu.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
seperated displayMenu in this file
----------------------------
revision 1.1 locked by: root;
date: 2017/07/04 01:54:58; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: findIndex.c,v
Working file: findIndex.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
function to find index of a character in master array
----------------------------
revision 1.4 locked by: root;
date: 2017/07/10 10:36:02; author: root; state: Exp; lines: +0 -4
got the problem if index above 10 then that character not getting
----------------------------
revision 1.3
date: 2017/07/10 10:31:00; author: root; state: Exp; lines: +3 -0
checking for error compression not done properly
----------------------------
revision 1.2
date: 2017/07/10 10:23:26; author: root; state: Exp; lines: +1 -0
same prob
----------------------------
revision 1.1
date: 2017/07/06 04:39:12; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: mdc.c,v
Working file: mdc.c
head: 1.29
branch:
locks: strict
root: 1.29
access list:
symbolic names:
keyword substitution: kv
total revisions: 29; selected revisions: 29
description:
----------------------------
revision 1.29 locked by: root;
date: 2017/07/04 04:19:02; author: root; state: Exp; lines: +1 -1
decompression function called
----------------------------
revision 1.28
date: 2017/07/04 01:56:45; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.27
date: 2017/07/04 01:55:09; author: root; state: Exp; lines: +2 -64
remove the functions from this file and defined them in different file
----------------------------
revision 1.26
date: 2017/07/04 01:27:39; author: root; state: Exp; lines: +1 -3
master array issur resolved
----------------------------
revision 1.25
date: 2017/07/04 01:09:21; author: root; state: Exp; lines: +1 -1
m_arr issue
----------------------------
revision 1.24
date: 2017/07/04 00:59:25; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.23
date: 2017/07/04 00:58:50; author: root; state: Exp; lines: +2 -1
correct m_arr
----------------------------
revision 1.22
date: 2017/07/04 00:55:27; author: root; state: Exp; lines: +1 -1
correcting m_arr
----------------------------
revision 1.21
date: 2017/07/04 00:53:06; author: root; state: Exp; lines: +3 -2
identifying unique character master array
----------------------------
revision 1.20
date: 2017/07/04 00:50:09; author: root; state: Exp; lines: +4 -4
Added new line in End printing
----------------------------
revision 1.19
date: 2017/07/04 00:47:30; author: root; state: Exp; lines: +14 -11
written begin and end function name in each function
----------------------------
revision 1.18
date: 2017/07/04 00:42:40; author: root; state: Exp; lines: +3 -1
identifying unique characters
----------------------------
revision 1.17
date: 2017/07/04 00:40:12; author: root; state: Exp; lines: +2 -1
unique characters not identified
----------------------------
revision 1.16
date: 2017/07/04 00:36:38; author: root; state: Exp; lines: +2 -1
initialize loop iterator in compression
----------------------------
revision 1.15
date: 2017/07/04 00:33:38; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.14
date: 2017/07/04 00:33:02; author: root; state: Exp; lines: +8 -6
se
----------------------------
revision 1.13
date: 2017/07/04 00:22:37; author: root; state: Exp; lines: +15 -4
try to identify unique character and store it in master array
----------------------------
revision 1.12
date: 2017/07/03 06:16:06; author: root; state: Exp; lines: +1 -1
not desired working
----------------------------
revision 1.11
date: 2017/07/03 06:15:20; author: root; state: Exp; lines: +15 -0
made compression function
----------------------------
revision 1.10
date: 2017/07/03 06:08:49; author: root; state: Exp; lines: +2 -2
se
----------------------------
revision 1.9
date: 2017/07/03 06:08:11; author: root; state: Exp; lines: +0 -5
se
----------------------------
revision 1.8
date: 2017/07/03 06:06:07; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.7
date: 2017/07/03 06:04:43; author: root; state: Exp; lines: +20 -0
made openfiler() function
----------------------------
revision 1.6
date: 2017/07/03 05:41:30; author: root; state: Exp; lines: +14 -5
made displayMenu function
----------------------------
revision 1.5
date: 2017/07/03 05:08:26; author: root; state: Exp; lines: +19 -15
displayed main menu in continuous loop
----------------------------
revision 1.4
date: 2017/07/03 05:04:05; author: root; state: Exp; lines: +1 -1
syntax error (se)
----------------------------
revision 1.3
date: 2017/07/03 05:02:46; author: root; state: Exp; lines: +14 -2
displayed menu properly.
Earlier menu not in order.
----------------------------
revision 1.2
date: 2017/07/03 04:56:50; author: root; state: Exp; lines: +14 -0
displayed menu with it's code in main function
----------------------------
revision 1.1
date: 2017/07/03 04:34:06; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfile.c,v
Working file: openfile.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
made this by merging openfiler and openfilew
taking mode as argument
----------------------------
revision 1.1 locked by: root;
date: 2017/07/06 16:37:34; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfiler.c,v
Working file: openfiler.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
seperated openfiler function in this file
----------------------------
revision 1.2 locked by: root;
date: 2017/07/06 05:07:26; author: root; state: Exp; lines: +2 -0
written Begin and end statement to print function name
----------------------------
revision 1.1
date: 2017/07/04 01:55:56; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openfilew.c,v
Working file: openfilew.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
function to open file for writing and if it does not exist then create it
----------------------------
revision 1.2 locked by: root;
date: 2017/07/06 05:09:21; author: root; state: Exp; lines: +1 -1
se
----------------------------
revision 1.1
date: 2017/07/06 05:07:52; author: root; state: Exp;
Initial revision
=============================================================================
It looks like you're new here. If you want to get involved, click one of these buttons!