source: LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/cargs.h @ 5202

Last change on this file since 5202 was 5158, checked in by abarral, 7 weeks ago

Add missing klon on strataer_emiss_mod.F90
Correct various missing explicit declarations
Replace tabs by spaces (tabs are not part of the fortran charset)
Continue cleaning modules
Removed unused arguments and variables

File size: 1.7 KB
Line 
1/**
2 * (C) Copyright 2014- ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 *
7 * In applying this licence, ECMWF does not waive the privileges and immunities
8 * granted to it by virtue of its status as an intergovernmental organisation
9 * nor does it submit to any jurisdiction.
10 */
11
12/* cargs.h */
13
14/* prototypes for ifsaux/support/cargs.c */
15
16/* Author: Sami Saarinen, ECMWF, 27-Apr-2006 */
17
18#if defined(__cplusplus)
19extern "C" {
20#endif
21
22void ec_PutArgs(int argc, char *argv[]);
23const char *ec_GetArgs(int argno);
24int ec_NumArgs(void);
25
26/* The following two as in C-main : "int main(int argc, char *argv[])" */
27
28int ec_argc(void);
29char **ec_argv(void);
30
31/* Fortran interface */
32
33int iargc_c_(void);
34int iargc_c (void);
35
36void getarg_c_(const int *argno, char *arg
37           /* Hidden argument */
38           , const int arg_len);
39
40void getarg_c (const int *argno, char *arg
41           /* Hidden argument */
42           , const int arg_len);
43
44void putarg_c_(const int *argno, const char *arg
45           /* Hidden argument */
46           , int arg_len);
47
48void putarg_c (const int *argno, const char *arg
49           /* Hidden argument */
50           , int arg_len);
51
52void putarg_info_(const int *argc, const char *cterm
53          /* Hidden argument */
54          , int cterm_len);
55
56void putarg_info (const int *argc, const char *cterm
57          /* Hidden argument */
58          , int cterm_len);
59
60/* From ifsaux/support/cmpl_binding.F90 */
61
62void cmpl_getarg_(const int *argno, char *arg
63          /* Hidden argument */
64          , const int arg_len);
65
66int cmpl_iargc_(); 
67
68#if defined(__cplusplus)
69}
70#endif
Note: See TracBrowser for help on using the repository browser.