diff options
author | Pixel <Pixel> | 2001-05-03 00:20:43 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-05-03 00:20:43 +0000 |
commit | 6e5f6775d16e9730ccf1edbecf14da52d0ef134a (patch) | |
tree | a10da767d18359a1dcb1858391aa4c088b60f4c4 /include/hash.h | |
parent | f6a2189fb85618d50de1edee30536641b0c376cf (diff) |
Indentation
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/include/hash.h b/include/hash.h index 701b241..0197bbb 100644 --- a/include/hash.h +++ b/include/hash.h @@ -6,40 +6,52 @@ typedef void *_TypeVariable; typedef struct { - char *NomVar; - _TypeVariable Variable; + char *NomVar; + _TypeVariable Variable; } _Element; typedef struct _LstChn { - _Element Elem; - struct _LstChn *Suivant; + _Element Elem; + struct _LstChn *Suivant; } *_ListeChaine; typedef _ListeChaine *_TableauVariable; -/* Initialise une table de hachage */ +/* + * Initialise une table de hachage + */ int Initialise(_TableauVariable * t); -/* Crée un élement à insérer dans la table de hachage */ +/* + * Cree un element a inserer dans la table de hachage + */ _Element CreerElement(char *Nom, _TypeVariable Var); -/* Insert un element(Nom de la variable,variable) dans une table de hachage - la fonction renvoit 0 en cas d'erreur */ +/* + * Insert un element(Nom de la variable,variable) dans une table de hachage la fonction renvoit 0 + * en cas d'erreur + */ char InsererVarDansTab(_TableauVariable * t, _Element e); -/* Renvoie la variable de la table de hachage qui porte le nom Nom - si la variable n'existe pas trouve est égal à 0 */ +/* + * Renvoie la variable de la table de hachage qui porte le nom Nom si la variable n'existe pas + * trouve est egal a 0 + */ _TypeVariable NomVarToVar(char *Nom, _TableauVariable t, char *trouve); -/* Supprime la variable de nom Nom - la fonction renvoit 0 en cas d'erreur */ +/* + * Supprime la variable de nom Nom la fonction renvoit 0 en cas d'erreur + */ char SupprimerDansTab(_TableauVariable * t, char *Nom); -/* Detruit le tableau */ +/* + * Detruit le tableau + */ void DetruitTab(_TableauVariable * t); -/* Affiche le tableau */ +/* + * Affiche le tableau + */ void AfficheTableau(_TableauVariable t); - #endif |