Code_Saturne
CFD tool
ecs_fic.h
Go to the documentation of this file.
1 #ifndef _ECS_FIC_H_
2 #define _ECS_FIC_H_
3 
4 /*============================================================================
5  * Prototypes des fonctions
6  * associĆ©es aux impressions dans un fichier
7  *============================================================================*/
8 
9 /*
10  This file is part of Code_Saturne, a general-purpose CFD tool.
11 
12  Copyright (C) 1998-2012 EDF S.A.
13 
14  This program is free software; you can redistribute it and/or modify it under
15  the terms of the GNU General Public License as published by the Free Software
16  Foundation; either version 2 of the License, or (at your option) any later
17  version.
18 
19  This program is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
21  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
22  details.
23 
24  You should have received a copy of the GNU General Public License along with
25  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
26  Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 */
28 
29 /*----------------------------------------------------------------------------*/
30 
31 #include "ecs_def.h"
32 
33 /*----------------------------------------------------------------------------
34  * Standard C library headers
35  *----------------------------------------------------------------------------*/
36 
37 #include <stdio.h>
38 
39 /*----------------------------------------------------------------------------*/
40 
42 
43 /*============================================================================
44  * Type definitions
45  *============================================================================*/
46 
47 /*=============================================================================
48  * Public function prototypes
49  *============================================================================*/
50 
51 /*----------------------------------------------------------------------------
52  * Fonction d'impression du nom et de la valeur d'un pointeur
53  *----------------------------------------------------------------------------*/
54 
55 void
56 ecs_fic__imprime_ptr(FILE *fic_imp,
57  int profondeur_imp,
58  const char *nom_ptr,
59  const void *ptr);
60 
61 /*----------------------------------------------------------------------------
62  * Fonction d'impression du nom et de la valeur d'une variable
63  *----------------------------------------------------------------------------*/
64 
65 void
66 ecs_fic__imprime_val(FILE *fic_imp,
67  int profondeur_imp_nom,
68  const char *nom,
69  ecs_type_t typ_e,
70  const void *val);
71 
72 /*----------------------------------------------------------------------------*/
73 
75 
76 #endif /* _ECS_FIC_H_ */
BEGIN_C_DECLS void ecs_fic__imprime_ptr(FILE *fic_imp, int profondeur_imp, const char *nom_ptr, const void *ptr)
Definition: ecs_fic.c:87
void ecs_fic__imprime_val(FILE *fic_imp, int profondeur_imp_nom, const char *nom, ecs_type_t typ_e, const void *val)
Definition: ecs_fic.c:112
#define BEGIN_C_DECLS
Definition: ecs_def.h:234
ecs_type_t
Definition: ecs_def.h:138
#define END_C_DECLS
Definition: ecs_def.h:235