# readini.c File Reference

`#include <stdio.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include <ctype.h>`
`#include "const.h"`
`#include "global.h"`
`#include "divers.h"`

## Functions
void | Charger_INI_Clear_string (char *String)
int | Charger_INI_Seek_pattern (char *Buffer, char *Pattern)
int | Charger_INI_Reach_group (FILE *File, char *Buffer, char *Group)
int | Charger_INI_Get_string (FILE *File, char *Buffer, char *Option, char *Retour)
int | Charger_INI_Get_value (char *String, int *Index, int *Value)
int | Charger_INI_Get_values (FILE *File, char *Buffer, char *Option, int Nb_values_expected, int *Values)
int | Charger_INI (struct S_Config *Conf)

## Function Documentation

void Charger_INI_Clear_string | ( | char * | String | ) |

Referenced by Charger_INI_Get_string(), Charger_INI_Get_values(), Charger_INI_Reach_group(), Sauver_INI_Reach_group(), Sauver_INI_Set_strings(), and Sauver_INI_Set_values().

int Charger_INI_Seek_pattern | ( | char * | Buffer,
|  | char * | Pattern |
| ) |  |  |

Referenced by Charger_INI_Get_string(), Charger_INI_Get_value(), Charger_INI_Get_values(), Charger_INI_Reach_group(), Sauver_INI_Reach_group(), Sauver_INI_Set_strings(), and Sauver_INI_Set_values().

int Charger_INI_Reach_group | ( | FILE * | File,
|  | char * | Buffer,
|  | char * | Group |
| ) |  |  |

References Charger_INI_Clear_string(), Charger_INI_Seek_pattern(), ERREUR_INI_CORROMPU, and Ligne_INI.

Referenced by Charger_INI().

int Charger_INI_Get_string | ( | FILE * | File,
|  | char * | Buffer,
|  | char * | Option,
|  | char * | Retour |
| ) |  |  |

References Charger_INI_Clear_string(), Charger_INI_Seek_pattern(), ERREUR_INI_CORROMPU, and Ligne_INI.

Referenced by Charger_INI().

int Charger_INI_Get_value | ( | char * | String,
|  | int * | Index,
|  | int * | Value |
| ) |  |  |

References Charger_INI_Seek_pattern(), and ERREUR_INI_CORROMPU.

Referenced by Charger_INI_Get_values().

int Charger_INI_Get_values | ( | FILE * | File,
|  | char * | Buffer,
|  | char * | Option,
|  | int | Nb_values_expected,
|  | int * | Values |
| ) |  |  |

References Charger_INI_Clear_string(), Charger_INI_Get_value(), Charger_INI_Seek_pattern(), ERREUR_INI_CORROMPU, and Ligne_INI.

Referenced by Charger_INI().

int Charger_INI | ( | struct S_Config * | Conf | ) |

References S_Config::Adjust_brush_pick, S_Config::Afficher_limites_image, S_Config::Auto_discontinuous, S_Config::Auto_nb_used, S_Config::Auto_save, S_Config::Auto_set_res, S_Config::Backup, S_Config::Bookmark_directory, S_Config::Bookmark_label, CARACTERE_SUSPENSION, Charger_INI_Get_string(), Charger_INI_Get_values(), Charger_INI_Reach_group(), S_Config::Chrono_delay, S_Config::Clear_palette, S_Config::Clear_with_stencil, Conversion_argument_mode(), S_Config::Coords_rel, S_Config::Coul_menu_pref, S_Config::Couleurs_separees, S_Config::Curseur, ERREUR_INI_ABSENT, ERREUR_INI_CORROMPU, S_Config::Fast_zoom, S_Config::Find_file_fast, S_Config::Fonte, S_Config::FX_Feedback, S_Mode_video::Hauteur, S_Config::Indice_Sensibilite_souris_X, S_Config::Indice_Sensibilite_souris_Y, S_Mode_video::Largeur, Ligne_INI, S_Config::Lire_les_fichiers_caches, S_Config::Lire_les_repertoires_caches, S_Config::Maximize_preview, Mode_video, Mouse_Facteur_de_correction_X, S_Config::Mouse_Facteur_de_correction_X, Mouse_Facteur_de_correction_Y, S_Config::Mouse_Facteur_de_correction_Y, S_Config::Mouse_Merge_movement, NB_BOOKMARKS, S_Config::Nb_max_de_vertex_par_polygon, S_Config::Nb_pages_Undo, S_Config::Opening_message, S_Config::Palette_Cells_X, S_Config::Palette_Cells_Y, S_Config::Ratio, Repertoire_de_configuration, Repertoire_des_donnees, S_Config::Resolution_par_defaut, S_Config::Safety_colors, S_Config::Set_resolution_according_to, S_Config::Taille_ecran_dans_GIF, S_Config::Valeur_tempo_jauge_droite, and S_Config::Valeur_tempo_jauge_gauche.

Referenced by Initialisation_du_programme(), and Settings_Charger_config().