MED fichier: Fichier source de medlink.h

MED fichier

medlink.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 EDF R&D, CEA/DEN
4 * MED is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * MED is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with MED. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef MED_MEDLINK_H
19 #define MED_MEDLINK_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Link */
28 MEDC_EXPORT med_err
29 MEDlinkWr(const med_idt fid,
30 const char * const meshname,
31 const char * const link);
32
33 MEDC_EXPORT med_err
34 MEDlinkRd(const med_idt fid,
35 const char* const meshname,
36 char* const link);
37
38 MEDC_EXPORT med_int
39 MEDnLink(const med_idt fid );
40 MEDC_EXPORT med_int
41 MEDlinkInfoByName(const med_idt fid,
42 const char * const meshname );
43
44 MEDC_EXPORT med_err
45 MEDlinkInfo(const med_idt fid,
46 const int linkit,
47 char * const meshname,
48 med_int * const linksize );
49
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55 #endif /* MED_MEDLINK_H */
56
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MEDlinkInfo
MEDC_EXPORT med_err MEDlinkInfo(const med_idt fid, const int linkit, char *const meshname, med_int *const linksize)
Cette routine permet de lire les informations sur un lien dans un fichier MED.
Definition: MEDlinkInfo.c:38
MEDnLink
MEDC_EXPORT med_int MEDnLink(const med_idt fid)
Cette routine permet la lecture du nombre de lien dans un fichier MED.
Definition: MEDnLink.c:34
med_idt
hid_t med_idt
Definition: med.h:331
med_err
herr_t med_err
Definition: med.h:332
MEDlinkWr
MEDC_EXPORT med_err MEDlinkWr(const med_idt fid, const char *const meshname, const char *const link)
Cette routine permet d'écrire un lien dans un fichier MED.
Definition: MEDlinkWr.c:36
med_int
int med_int
Definition: med.h:342
MEDlinkRd
MEDC_EXPORT med_err MEDlinkRd(const med_idt fid, const char *const meshname, char *const link)
Cette routine permet de lire un lien dans un fichier MED.
Definition: MEDlinkRd.c:37
medC_win_dll.h
MEDlinkInfoByName
MEDC_EXPORT med_int MEDlinkInfoByName(const med_idt fid, const char *const meshname)
Cette routine permet de lire les informations sur un lien dans un fichier MED.
Definition: MEDlinkInfoByName.c:36