You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

869 lines
56 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: /Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">My Project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9170cd96d41fdbdbf8a9ef7aa4556cb5.html">II</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">deux.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Partie 2 de la SAE 1.02.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &quot;<a class="el" href="deux_8h_source.html">deux.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="trois_8c_source.html">../III/trois.c</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for deux.c:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c__incl.png" border="0" usemap="#a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8c" alt=""/></div>
<map name="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8c" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8c">
<area shape="rect" title="Partie 2 de la SAE 1.02." alt="" coords="337,5,533,60"/>
<area shape="rect" title=" " alt="" coords="555,255,616,280"/>
<area shape="rect" title=" " alt="" coords="5,255,69,280"/>
<area shape="rect" title=" " alt="" coords="94,255,159,280"/>
<area shape="rect" title=" " alt="" coords="467,255,530,280"/>
<area shape="rect" href="deux_8h.html" title="Partie 2 de la SAE 1.02." alt="" coords="549,108,611,133"/>
<area shape="rect" href="trois_8c.html" title=" " alt="" coords="315,108,402,133"/>
<area shape="rect" title=" " alt="" coords="371,255,443,280"/>
<area shape="rect" href="trois_8h.html" title=" " alt="" coords="133,181,192,207"/>
<area shape="rect" href="quatre_8c.html" title="Partie 4 de la SAE 1.02." alt="" coords="267,181,365,207"/>
<area shape="rect" title=" " alt="" coords="278,255,346,280"/>
<area shape="rect" href="quatre_8h.html" title="Partie 4 de la SAE 1.02." alt="" coords="184,255,253,280"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c__dep__incl.png" border="0" usemap="#a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8cdep" alt=""/></div>
<map name="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8cdep" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8cdep">
<area shape="rect" title="Partie 2 de la SAE 1.02." alt="" coords="5,5,201,60"/>
<area shape="rect" href="un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="5,108,201,163"/>
<area shape="rect" href="main_8c.html" title="Exécutable principal du programme." alt="" coords="5,211,201,265"/>
</map>
</div>
</div>
<p><a href="deux_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9fd89bafa880d71f757f84466bd9141d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a> (void)</td></tr>
<tr class="memdesc:a9fd89bafa880d71f757f84466bd9141d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. <a href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">More...</a><br /></td></tr>
<tr class="separator:a9fd89bafa880d71f757f84466bd9141d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a7f12cc6517d640aea8a0d80797737a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidature.html">Candidature</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a> (void)</td></tr>
<tr class="memdesc:a8a7f12cc6517d640aea8a0d80797737a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision &amp; validation. <a href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">More...</a><br /></td></tr>
<tr class="separator:a8a7f12cc6517d640aea8a0d80797737a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">ajouterCandidat</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> *listePointer, int *nbCandidats, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
<tr class="memdesc:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajoute l'adresse du candidat dans le tableau de pointeur "liste". <a href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">More...</a><br /></td></tr>
<tr class="separator:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581b991f3ee0dc610d684f27dce120ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> *candidature)</td></tr>
<tr class="memdesc:a581b991f3ee0dc610d684f27dce120ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. <a href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">More...</a><br /></td></tr>
<tr class="separator:a581b991f3ee0dc610d684f27dce120ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a346ec11b7cfecb53142039ba1125e31e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">menuCandidat_candidater</a> (<a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> **tiut, int nbVilles, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
<tr class="memdesc:a346ec11b7cfecb53142039ba1125e31e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Permet au candidat de déposer une candidature. <a href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">More...</a><br /></td></tr>
<tr class="separator:a346ec11b7cfecb53142039ba1125e31e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> candid)</td></tr>
<tr class="memdesc:a6b5755efb0bb15c7ee98372c76763fa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verifie si la candidature à ajouter n'existe pas déjà <a href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">More...</a><br /></td></tr>
<tr class="separator:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5b94a22bd855987ee7db353ce1cc00a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">afficherListeCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
<tr class="memdesc:af5b94a22bd855987ee7db353ce1cc00a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche tous les candidats triés par nom. <a href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">More...</a><br /></td></tr>
<tr class="separator:af5b94a22bd855987ee7db353ce1cc00a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
<tr class="memdesc:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche un candidat précis. <a href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">More...</a><br /></td></tr>
<tr class="separator:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a> (<a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a> candidatures, int nbCandidatures)</td></tr>
<tr class="memdesc:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche récursivement toutes les candidatures d'un seul candidat. <a href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">More...</a><br /></td></tr>
<tr class="separator:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23f833bdb8e7e5f6705a427b803940c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">readCandidats</a> (int *nbCandidats)</td></tr>
<tr class="memdesc:ab23f833bdb8e7e5f6705a427b803940c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. <a href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">More...</a><br /></td></tr>
<tr class="separator:ab23f833bdb8e7e5f6705a427b803940c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa29d659a5a7e104d16453fb638aa7879"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">compareCandidats</a> (const void *p1, const void *p2)</td></tr>
<tr class="memdesc:aa29d659a5a7e104d16453fb638aa7879"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare deux candidats suivant l'ordre alphabetique. <a href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">More...</a><br /></td></tr>
<tr class="separator:aa29d659a5a7e104d16453fb638aa7879"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">saveCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
<tr class="memdesc:a144c1ecbcf346d4181e31a558ba84ac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enregistre la liste des candidats dans le fichier texte candidats.don. <a href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">More...</a><br /></td></tr>
<tr class="separator:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab69176142c7bc496d57694e11e7deb16"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">readStatus</a> (void)</td></tr>
<tr class="memdesc:ab69176142c7bc496d57694e11e7deb16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">More...</a><br /></td></tr>
<tr class="separator:ab69176142c7bc496d57694e11e7deb16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bba1ba5f848dde11fbc93cab5278878"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">saveStatus</a> (int status)</td></tr>
<tr class="memdesc:a3bba1ba5f848dde11fbc93cab5278878"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">More...</a><br /></td></tr>
<tr class="separator:a3bba1ba5f848dde11fbc93cab5278878"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Partie 2 de la SAE 1.02. </p>
<dl class="section author"><dt>Author</dt><dd>GOIGOUX Lucie &amp; JEUDI&ndash;LEMOINE Alix </dd></dl>
<dl class="section date"><dt>Date</dt><dd>23/12/22 </dd></dl>
<p>Application de gestion des candidature dans les IUT de France </p>
<p class="definition">Definition in file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a7fe4daeb12de384a0a66b98f0b4cdf30" name="a7fe4daeb12de384a0a66b98f0b4cdf30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fe4daeb12de384a0a66b98f0b4cdf30">&#9670;&#160;</a></span>afficherCandidat()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void afficherCandidat </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td>
<td class="paramname"><em>candidat</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Affiche un candidat précis. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">candidat</td><td>Adresse du candidat que l'utilisateur choisi d'afficher </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00149">149</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph.png" border="0" usemap="#adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" alt=""/></div>
<map name="adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" id="adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph">
<area shape="rect" title="Affiche un candidat précis." alt="" coords="595,5,712,31"/>
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="256,5,347,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a3f92b836fa2cfadc62f0ad9c11a449c5" name="a3f92b836fa2cfadc62f0ad9c11a449c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f92b836fa2cfadc62f0ad9c11a449c5">&#9670;&#160;</a></span>afficherCandidatures()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void afficherCandidatures </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a>&#160;</td>
<td class="paramname"><em>candidatures</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbCandidatures</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Affiche récursivement toutes les candidatures d'un seul candidat. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">candidatures</td><td>Tableau de pointeur sur les candidatures d'un candidat </td></tr>
<tr><td class="paramname">nbCandidatures</td><td>Nombre de candidatures du candidat </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00160">160</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph.png" border="0" usemap="#adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" alt=""/></div>
<map name="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" id="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph">
<area shape="rect" title="Affiche récursivement toutes les candidatures d&#39;un seul candidat." alt="" coords="5,29,148,55"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph.png" border="0" usemap="#adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" alt=""/></div>
<map name="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" id="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph">
<area shape="rect" title="Affiche récursivement toutes les candidatures d&#39;un seul candidat." alt="" coords="677,29,820,55"/>
<area shape="rect" href="quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="411,29,629,55"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,29,363,55"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,29,208,55"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,29,56,55"/>
</map>
</div>
</div>
</div>
<a id="af5b94a22bd855987ee7db353ce1cc00a" name="af5b94a22bd855987ee7db353ce1cc00a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5b94a22bd855987ee7db353ce1cc00a">&#9670;&#160;</a></span>afficherListeCandidats()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void afficherListeCandidats </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>&#160;</td>
<td class="paramname"><em>liste</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbCandidats</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Affiche tous les candidats triés par nom. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00125">125</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph.png" border="0" usemap="#adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph" alt=""/></div>
<map name="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph" id="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph">
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="5,31,157,56"/>
<area shape="rect" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30" title="Affiche un candidat précis." alt="" coords="212,5,329,31"/>
<area shape="rect" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879" title="Compare deux candidats suivant l&#39;ordre alphabetique." alt="" coords="205,55,336,80"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph.png" border="0" usemap="#adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph" alt=""/></div>
<map name="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph" id="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph">
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="256,5,347,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a54eb9bc5dbdbdb457257dbd4727ec59f" name="a54eb9bc5dbdbdb457257dbd4727ec59f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54eb9bc5dbdbdb457257dbd4727ec59f">&#9670;&#160;</a></span>ajouterCandidat()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ajouterCandidat </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> *&#160;</td>
<td class="paramname"><em>listePointer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>nbCandidats</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td>
<td class="paramname"><em>candidat</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Ajoute l'adresse du candidat dans le tableau de pointeur "liste". </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">listePointer</td><td>Adresse du tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable contenant le nombre de candidats </td></tr>
<tr><td class="paramname">candidat</td><td>Adresse du <a class="el" href="struct_candidat.html">Candidat</a> à ajouter </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00042">42</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph.png" border="0" usemap="#adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" alt=""/></div>
<map name="adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" id="adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph">
<area shape="rect" title="Ajoute l&#39;adresse du candidat dans le tableau de pointeur &quot;liste&quot;." alt="" coords="605,5,719,31"/>
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l&#39;utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a581b991f3ee0dc610d684f27dce120ae" name="a581b991f3ee0dc610d684f27dce120ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a581b991f3ee0dc610d684f27dce120ae">&#9670;&#160;</a></span>ajouterCandidature()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ajouterCandidature </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td>
<td class="paramname"><em>candidat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a> *&#160;</td>
<td class="paramname"><em>candidature</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">candidat</td><td>Adresse du candidat dont on veut ajouter une candidature </td></tr>
<tr><td class="paramname">candidature</td><td>Adresse de la candidature à ajouter </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00057">57</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph.png" border="0" usemap="#adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph" alt=""/></div>
<map name="adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph" id="adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph">
<area shape="rect" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="632,5,763,31"/>
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a6b5755efb0bb15c7ee98372c76763fa1" name="a6b5755efb0bb15c7ee98372c76763fa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b5755efb0bb15c7ee98372c76763fa1">&#9670;&#160;</a></span>checkCandidature()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int checkCandidature </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td>
<td class="paramname"><em>candidat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a>&#160;</td>
<td class="paramname"><em>candid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Verifie si la candidature à ajouter n'existe pas déjà </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">candidat</td><td>Adresse du candidat auquel on veut ajouter une candidature </td></tr>
<tr><td class="paramname">candidature</td><td><a class="el" href="struct_candidature.html">Candidature</a> à vérifier </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Retourne -1 si la candidature existe déjà et 0 sinon </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00114">114</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph.png" border="0" usemap="#adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" alt=""/></div>
<map name="adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" id="adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph">
<area shape="rect" title="Verifie si la candidature à ajouter n&#39;existe pas déjà" alt="" coords="632,5,759,31"/>
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="aa29d659a5a7e104d16453fb638aa7879" name="aa29d659a5a7e104d16453fb638aa7879"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa29d659a5a7e104d16453fb638aa7879">&#9670;&#160;</a></span>compareCandidats()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int compareCandidats </td>
<td>(</td>
<td class="paramtype">const void *&#160;</td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const void *&#160;</td>
<td class="paramname"><em>c2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare deux candidats suivant l'ordre alphabetique. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c1</td><td><a class="el" href="struct_candidat.html">Candidat</a> 1 </td></tr>
<tr><td class="paramname">c2</td><td><a class="el" href="struct_candidat.html">Candidat</a> 2 </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>&lt;0 si le candidat 1 est avant le candidat 2 dans l'ordre alphabetique, &gt;0 si le candidat 2 est avant le candidat 1 dans l'ordre alphabetique et 0 si ils sont homonymes </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00323">323</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph.png" border="0" usemap="#adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph" alt=""/></div>
<map name="adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph" id="adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph">
<area shape="rect" title="Compare deux candidats suivant l&#39;ordre alphabetique." alt="" coords="669,31,800,56"/>
<area shape="rect" href="trois_8c.html#a79f0be18b92bd7bf1422858e922cbc52" title="Affiche les candidatures pour un seul département dans un IUT." alt="" coords="435,5,621,31"/>
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="452,55,604,80"/>
<area shape="rect" href="un_8c.html#a5ae624d9f4129de2756601355b4a9ecb" title="Affiche le menu des responsables et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,387,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,31,208,56"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,31,56,56"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="276,55,367,80"/>
</map>
</div>
</div>
</div>
<a id="a9fd89bafa880d71f757f84466bd9141d" name="a9fd89bafa880d71f757f84466bd9141d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fd89bafa880d71f757f84466bd9141d">&#9670;&#160;</a></span>creerCandidat()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_candidat.html">Candidat</a> * creerCandidat </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. </p>
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00018">18</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph.png" border="0" usemap="#adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph" alt=""/></div>
<map name="adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph" id="adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph">
<area shape="rect" title="Alloue de la mémoire de la taille d&#39;une structure Candidat avec un malloc." alt="" coords="605,31,708,56"/>
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l&#39;utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
<area shape="rect" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="256,56,363,81"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,7,363,32"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,32,208,57"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,32,56,57"/>
</map>
</div>
</div>
</div>
<a id="a8a7f12cc6517d640aea8a0d80797737a" name="a8a7f12cc6517d640aea8a0d80797737a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a7f12cc6517d640aea8a0d80797737a">&#9670;&#160;</a></span>creerCandidature()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_candidature.html">Candidature</a> * creerCandidature </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision &amp; validation. </p>
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00029">29</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph.png" border="0" usemap="#adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph" alt=""/></div>
<map name="adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph" id="adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph">
<area shape="rect" title="Alloue de la mémoire de la taille d&#39;une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="632,5,753,31"/>
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a346ec11b7cfecb53142039ba1125e31e" name="a346ec11b7cfecb53142039ba1125e31e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a346ec11b7cfecb53142039ba1125e31e">&#9670;&#160;</a></span>menuCandidat_candidater()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void menuCandidat_candidater </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> **&#160;</td>
<td class="paramname"><em>tiut</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbVilles</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> *&#160;</td>
<td class="paramname"><em>candidat</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet au candidat de déposer une candidature. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tiut</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> </td></tr>
<tr><td class="paramname">nbVilles</td><td>Nombre de villes ayant un IUT </td></tr>
<tr><td class="paramname">candidat</td><td>Adresse du candidat qui veut déposer une candidature </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00063">63</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph.png" border="0" usemap="#adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph" alt=""/></div>
<map name="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph" id="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph">
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="5,80,179,105"/>
<area shape="rect" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="227,5,357,31"/>
<area shape="rect" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n&#39;existe pas déjà" alt="" coords="229,55,355,80"/>
<area shape="rect" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d&#39;une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="231,104,353,129"/>
<area shape="rect" href="un_8c.html#a2a08d27051520d60755e7efa40492106" title="Fonction de recherche pour trouver la position de la ville recherchée dans le tableau tiut." alt="" coords="238,153,346,179"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph.png" border="0" usemap="#adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph" alt=""/></div>
<map name="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph" id="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph">
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="ab23f833bdb8e7e5f6705a427b803940c" name="ab23f833bdb8e7e5f6705a427b803940c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23f833bdb8e7e5f6705a427b803940c">&#9670;&#160;</a></span>readCandidats()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> readCandidats </td>
<td>(</td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>nbCandidats</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable qui va contenir le nombre de candidats dans le fichier candidats.don </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Renvoie la liste des candidats </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00263">263</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph.png" border="0" usemap="#adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph" alt=""/></div>
<map name="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph" id="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph">
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="5,5,112,31"/>
<area shape="rect" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d" title="Alloue de la mémoire de la taille d&#39;une structure Candidat avec un malloc." alt="" coords="160,5,263,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph.png" border="0" usemap="#adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph" alt=""/></div>
<map name="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph" id="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph">
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="256,5,363,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="ab69176142c7bc496d57694e11e7deb16" name="ab69176142c7bc496d57694e11e7deb16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab69176142c7bc496d57694e11e7deb16">&#9670;&#160;</a></span>readStatus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int readStatus </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
<dl class="section return"><dt>Returns</dt><dd>Retourne le status actuel de la phase de candidature </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00376">376</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph.png" border="0" usemap="#adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph" alt=""/></div>
<map name="adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph" id="adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph">
<area shape="rect" title="Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée)" alt="" coords="689,59,775,84"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="264,33,355,59"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,84,208,109"/>
<area shape="rect" href="un_8c.html#adc8300a25cc0383b24c755c4bbfd91ec" title="Fonction permettant à l&#39;utilisateur administrateur de supprimer un département existant." alt="" coords="411,33,641,59"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="256,135,363,160"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,84,56,109"/>
</map>
</div>
</div>
</div>
<a id="a144c1ecbcf346d4181e31a558ba84ac5" name="a144c1ecbcf346d4181e31a558ba84ac5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144c1ecbcf346d4181e31a558ba84ac5">&#9670;&#160;</a></span>saveCandidats()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int saveCandidats </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>&#160;</td>
<td class="paramname"><em>liste</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbCandidats</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enregistre la liste des candidats dans le fichier texte candidats.don. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Renvoie -1 si il y a eu un problème de lecture du fichier et 0 si tout s'est bien passé </dd></dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00337">337</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph.png" border="0" usemap="#adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" alt=""/></div>
<map name="adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" id="adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph">
<area shape="rect" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="256,5,365,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
<a id="a3bba1ba5f848dde11fbc93cab5278878" name="a3bba1ba5f848dde11fbc93cab5278878"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bba1ba5f848dde11fbc93cab5278878">&#9670;&#160;</a></span>saveStatus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void saveStatus </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>status</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>le status actuel de la phase de candidature </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00393">393</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="deux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph.png" border="0" usemap="#adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph" alt=""/></div>
<map name="adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph" id="adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph">
<area shape="rect" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="395,5,483,31"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="256,5,347,31"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
</map>
</div>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>