RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
In file a include a header files related the this project
—————————-
revision 1.2
date: 2016/01/31 10:28:12; author: root; state: Exp; lines: +0 -8
remove a some statement.
—————————-
revision 1.1
date: 2016/01/31 09:29:28; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: request.h,v
Working file: request.h
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
In file a declare structure and in structure a three member variable.
—————————-
revision 1.3
date: 2016/02/04 06:20:17; author: root; state: Exp; lines: +4 -3
*** empty log message ***
—————————-
revision 1.2
date: 2016/02/03 14:13:25; author: root; state: Exp; lines: +5 -1
In file a declare a in structure another member variable.
—————————-
revision 1.1
date: 2016/01/31 09:30:01; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
In file a include a header files related the this project
—————————-
revision 1.2
date: 2016/01/31 10:28:12; author: root; state: Exp; lines: +0 -8
remove a some statement.
—————————-
revision 1.1
date: 2016/01/31 09:29:28; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: request.h,v
Working file: request.h
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
In file a declare structure and in structure a three member variable.
—————————-
revision 1.3
date: 2016/02/04 06:20:17; author: root; state: Exp; lines: +4 -3
*** empty log message ***
—————————-
revision 1.2
date: 2016/02/03 14:13:25; author: root; state: Exp; lines: +5 -1
In file a declare a in structure another member variable.
—————————-
revision 1.1
date: 2016/01/31 09:30:01; author: root; state: Exp;
Initial revision
=============================================================================
SHELL SCRIPT
delete()
{
rm -rf server
rm -rf add_request_client
rm -rf sub_request_client
rm -rf mul_request_client
rm -rf div_request_client
rm -rf add_processing_client
rm -rf sub_processing_client
rm -rf mul_processing_client
rm -rf div_processing_client
}
edit()
{
read -p “do you want a edit further (y or n) :” answer
if [ 'y' = $answer ]
then
for file in $(ls *.h)
do
co -l $file
done
for file in $(ls *.c)
do
co -l $file
done
delete
fi
exit 0
}
execute()
{
read -p “do you want a execute a script :” answer
if [ 'y' = $answer ]
then
if (gcc -o add_request_client add_request_client.c)
then
echo “complations is successfull”
else
echo “complations is failed”
edit
fi
if (gcc -o sub_request_client sub_request_client.c)
then
echo “complations is successfull”
else
echo “complations is failed”
edit
fi
if (gcc -o mul_request_client mul_request_client.c)
then
echo “complations is successfull”
else
echo “complations is failed”
edit
fi
if (gcc -o div_request_client div_request_client.c)
then
echo “complations is successfull”
else
echo “complations is failed”
edit
fi
if (gcc -o add_processing_client add_processing_client.c)
then
echo “complations is successfull”
else
echo “complation is failed”
edit
fi
if (gcc -o sub_processing_client sub_processing_client.c)
then
echo “complations is successfull”
else
echo “complation is failed”
edit
fi
if (gcc -o mul_processing_client mul_processing_client.c)
then
echo “complations is successfull”
else
echo “complation is failed”
edit
fi
if (gcc -o div_processing_client div_processing_client.c)
then
echo “complations is successfull”
else
echo “complation is failed”
edit
fi
if (gcc -o server server.c)
then
echo “complations is successfull”
else
echo “complation is failed”
edit
fi
else
edit
fi
./server
}
logfile()
{
read -p “do you want a run a logfile :” answer
if [ 'y' = $answer ]
then
chmod +x rlog.sh
./rlog.sh
fi
edit
}
for file in $(ls *.h)
do
ci $file
done
for file in $(ls *.c)
do
ci $file
done
for file in $(ls *.h,v)
do
co $file
done
for file in $(ls *.c,v)
do
co $file
done
execute
read
logfile