
\def\calcINsdclient.c{
\lstinputlisting[firstline=16, lastline=28, emph={}]{sdclient.c}
}
\def\mainINsdclient.c{
\lstinputlisting[firstline=30, lastline=48, emph={calcul, sockaddrinbyname}]{sdclient.c}
}
\def\sdcnetINsdcserv.c{
\lstinputlisting[firstline=9, lastline=28, emph={sendpaquetto, recvpaquetfrom}]{sdcserv.c}
}
\def\mainINsdcserv.c{
\lstinputlisting[firstline=41, lastline=58, emph={socket, bind,close,sockaddrinlocal}]{sdcserv.c}
}
\def\tacheINsdcservforktube.c{
\lstinputlisting[firstline=12, lastline=24, emph={write}]{sdcservforktube.c}
}
\def\sdcINsdcservforktube.c{
\lstinputlisting[firstline=26, lastline=46, emph={pipe, fork, tache, read, wait}]{sdcservforktube.c}
}
\def\sockaddrinbynameINsocktools.c{
\lstinputlisting[firstline=12, lastline=23, emph={}]{socktools.c}
}
\def\sockaddrinlocalINsocktools.c{
\lstinputlisting[firstline=25, lastline=33, emph={}]{socktools.c}
}
\def\paquetINsocktools.c{
\lstinputlisting[firstline=49, lastline=55, emph={sendto}]{socktools.c}
}
\def\argokINsocktools.c{
\lstinputlisting[firstline=71, lastline=86, emph={getopt}]{socktools.c}
}
\def\mainINwhoami.c{
\lstinputlisting[firstline=13, lastline=32, emph={gethostbyname, hostent, in_addr, inet_ntoa}]{whoami.c}
}
\def\calculINsdclientfork.c{
\lstinputlisting[firstline=19, lastline=39, emph={retry, nobloqpaquetfrom}]{sdclientfork.c}
}
\def\tacheINsdcservforkexit.c{
\lstinputlisting[firstline=12, lastline=22, emph={return}]{sdcservforkexit.c}
}
\def\sdcINsdcservforkexit.c{
\lstinputlisting[firstline=24, lastline=44, emph={pipe, fork, tache, read, signal, wait, exit}]{sdcservforkexit.c}
}
\def\tacheINsdcservthread.c{
\lstinputlisting[firstline=42, lastline=58, emph={pthread_exit, pthread_mutex_lock, pthread_mutex_unlock}]{sdcservthread.c}
}
\def\sdcINsdcservthread.c{
\lstinputlisting[firstline=60, lastline=80, emph={pthread_create,  pthread_join, pthread_mutex_lock, pthread_mutex_unlock}]{sdcservthread.c}
}
\def\listenINtcpserv.c{
\lstinputlisting[firstline=2, lastline=18, emph={listen}]{tcpserv.c}
}
\def\loopINtcpserv.c{
\lstinputlisting[firstline=20, lastline=38, emph={listen,accept}]{tcpserv.c}
}
\def\mainINudpservmin.c{
\lstinputlisting[firstline=18, lastline=37, emph={sockaddr, sockaddr_in, socket, htons, bind, recvfrom, close}]{udpservmin.c}
}
\def\envoyerINbigloop.c{
\lstinputlisting[firstline=182, lastline=195, emph={sendto}]{bigloop.c}
}
\def\zombieINbigloop.c{
\lstinputlisting[firstline=264, lastline=278, emph={MSG_DONTWAIT}]{bigloop.c}
}
\def\recevoirINbigloop.c{
\lstinputlisting[firstline=280, lastline=295, emph={recvfrom}]{bigloop.c}
}
\def\priseINbigloop.c{
\lstinputlisting[firstline=347, lastline=362, emph={initsocketserver,initserver}]{bigloop.c}
}
\def\ticketINbigloop.h{
\lstinputlisting[firstline=29, lastline=40, emph={__attribute__, __packed__}]{bigloop.h}
}
\def\parfaitINclient.c{
\lstinputlisting[firstline=7, lastline=19, emph={cpt}]{client.c}
}
\def\mainINclient.c{
\lstinputlisting[firstline=21, lastline=35, emph={registration, newjob, sendvalue, sendend}]{client.c}
}
\def\prologueINserver.c{
\lstinputlisting[firstline=152, lastline=165, emph={ initbigloop, initserver}]{server.c}
}
\def\boucleINserver.c{
\lstinputlisting[firstline=167, lastline=189, emph={ READY, GET, VALUE, END}]{server.c}
}
\def\epilogueINserver.c{
\lstinputlisting[firstline=191, lastline=209, emph={getticketfromzombie}]{server.c}
}