source: XIOS/trunk/src/interface/fortran/context_interface.f90 @ 501

Last change on this file since 501 was 501, checked in by ymipsl, 9 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 1.1 KB
Line 
1MODULE CONTEXT_INTERFACE
2   USE, INTRINSIC :: ISO_C_BINDING
3     
4   INTERFACE ! Ne pas appeler directement/Interface FORTRAN 2003 <-> C99
5     
6      SUBROUTINE cxios_context_handle_create(ret, idt, idt_size) BIND(C)
7         import C_CHAR, C_INTPTR_T, C_INT
8         INTEGER  (kind = C_INTPTR_T)               :: ret
9         CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: idt
10         INTEGER  (kind = C_INT)     , VALUE        :: idt_size
11      END SUBROUTINE cxios_context_handle_create
12     
13      SUBROUTINE cxios_context_set_current(context, withswap) BIND(C)
14         import C_BOOL, C_INT, C_INTPTR_T
15         INTEGER (kind = C_INTPTR_T), VALUE :: context
16         LOGICAL (kind = C_BOOL)    , VALUE :: withswap
17      END SUBROUTINE cxios_context_set_current
18
19      SUBROUTINE cxios_context_valid_id(ret, idt, idt_size) BIND(C)
20         USE ISO_C_BINDING
21         LOGICAL  (kind = C_BOOL)                   :: ret
22         CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: idt
23         INTEGER  (kind = C_INT)     , VALUE        :: idt_size
24      END SUBROUTINE cxios_context_valid_id
25
26   END INTERFACE
27     
28END MODULE CONTEXT_INTERFACE
Note: See TracBrowser for help on using the repository browser.