EmbLogic's Blog

MDCEIT with split files

RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
includes all headers files used in the program.
—————————-
revision 1.2    locked by: root;
date: 2015/06/26 12:15:46;  author: root;  state: Exp;  lines: +0 -5
remove function prototypes from this file.
—————————-
revision 1.1
date: 2015/06/26 12:13:15;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: prototype.h,v
Working file: prototype.h
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;    selected revisions: 5
description:
define all the function prototypes used in the main program file.
—————————-
revision 1.5    locked by: root;
date: 2015/06/27 06:32:33;  author: root;  state: Exp;  lines: +1 -1
declare argument for open_file().
—————————-
revision 1.4
date: 2015/06/26 13:27:51;  author: root;  state: Exp;  lines: +6 -0
declare prototypes for compression2,3,4,5,6,7 ().
—————————-
revision 1.3
date: 2015/06/26 13:12:17;  author: root;  state: Exp;  lines: +1 -1
declare argument for open file().
—————————-
revision 1.2
date: 2015/06/26 12:51:14;  author: root;  state: Exp;  lines: +1 -1
change int argument to char * type in compression().
—————————-
revision 1.1
date: 2015/06/26 12:17:38;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression.c,v
Working file: compression.c
head: 1.7
branch:
locks: strict
root: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7;    selected revisions: 7
description:
Call compression function separately in this file.
—————————-
revision 1.7    locked by: root;
date: 2015/06/27 05:55:25;  author: root;  state: Exp;  lines: +0 -6
remove the duplicate file.
—————————-
revision 1.6
date: 2015/06/27 05:51:00;  author: root;  state: Exp;  lines: +1 -1
remove ; after switch().
—————————-
revision 1.5
date: 2015/06/27 05:46:38;  author: root;  state: Exp;  lines: +2 -1
add the braces in the statement for switch().
/
—————————-
revision 1.4
date: 2015/06/26 13:34:24;  author: root;  state: Exp;  lines: +2 -19
declare int ret.
—————————-
revision 1.3
date: 2015/06/26 13:28:43;  author: root;  state: Exp;  lines: +50 -1
add call functions for compression2,3,4,5,6,7() depending upon the different code lengths.
—————————-
revision 1.2
date: 2015/06/26 12:59:48;  author: root;  state: Exp;  lines: +9 -11
find string length and code length in this file.
As there is no need to find string length and code length in main file. Therefore, move these functions from main file to this file.
—————————-
revision 1.1
date: 2015/06/26 12:06:55;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression2.c,v
Working file: compression2.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
create file for code length= 2.
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:10:46;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression3.c,v
Working file: compression3.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
create file for code length= 3.
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:12:21;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression4.c,v
Working file: compression4.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
>> create file for code length= 3.
create file for code length= 4
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:12:58;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression5.c,v
Working file: compression5.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
create file for code length= 5
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:13:50;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression6.c,v
Working file: compression6.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
create file for code length= 6.
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:14:11;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: compression7.c,v
Working file: compression7.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
create file for code length= 7.
—————————-
revision 1.1    locked by: root;
date: 2015/06/27 07:14:35;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: openfile_1.c,v
Working file: openfile_1.c
head: 1.7
branch:
locks: strict
root: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 8;    selected revisions: 8
description:
Unique master array created using malloc
code length found using functions.
—————————-
revision 1.7    locked by: root;
date: 2015/06/27 06:33:11;  author: root;  state: Exp;  lines: +4 -4
declare command line argument in main() and pass the address in the call open_file() and pass the same address pointer to the definition of openfile().
—————————-
revision 1.6
date: 2015/06/26 13:13:45;  author: root;  state: Exp;  lines: +2 -2
In open file () definition declare argument to take input from command line.
—————————-
revision 1.5
date: 2015/06/26 12:52:33;  author: root;  state: Exp;  lines: +2 -5
pass array instead of file descriptor of Master array.
move string length and code length function to compression filemove printf for string and code length to compression file.
—————————-
revision 1.4
date: 2015/06/25 12:54:40;  author: eblogic;  state: Exp;  lines: +1 -21
split the file
create header.h file and place all header files from openfile_1 to header.h file
declare compression function definition in different file with name compression.c
In header.h file declare the compression function prototype as extern.
—————————-
revision 1.3
date: 2015/06/25 10:18:19;  author: eblogic;  state: Exp;  lines: +2 -2
Remove the malloc function and recreate the master array using realloc function.
—————————-
revision 1.2
date: 2015/06/25 09:25:21;  author: eblogic;  state: Exp;  lines: +1 -1
remove the comment from the malloc command
—————————-
revision 1.1
date: 2015/06/25 09:17:25;  author: eblogic;  state: Exp;
branches:  1.1.1;
Initial revision
—————————-
revision 1.1.1.1
date: 2015/06/25 12:01:33;  author: eblogic;  state: Exp;  lines: +1 -1
enter comment on already commented line
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>