OSFI-C++  3.10.0
OpenSF Integration Library
CLP.h
Go to the documentation of this file.
1 /*
2  * openSF Integration Libraries (OSFI)
3  * Deimos Space, S.L.U.
4  *
5  * This file is part of OSFI. OSFI is free software; you can redistribute it
6  * and/or modify it under the terms of the 'ESA Software Community Licence Permissive' as
7  * published by the European Space Agency; either version 2.4 of the License,
8  * or (at your option) any later version. You should have received a
9  * copy of the 'ESA Software Community Licence Permissive - v2.4' along with this program
10  * or one can be found at <http://eop-cfi.esa.int/index.php/docs-and-mission-data/licensing-documents>.
11  */
12 
23 #ifndef OSFI_FFI_CLP_H
24 #define OSFI_FFI_CLP_H
25 
26 #include "ffi_base.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 // TODO: documentation! especially pre- and post- conditions, and what happens in
32 // case of a C++ exception.
33 
47 };
49 OSFI_CLP* osfi_clp_create(int argc, char *argv[]);
67 bool osfi_clp_get_file(const OSFI_CLP* clp, enum osfi_clp_filetype type, int index, char *fileName, int *bufSz);
68 
69 /* @} */
70 
71 #ifdef __cplusplus
72 } // For the extern "C"
73 #endif
74 
75 #endif /* OSFI_FFI_H */
void osfi_clp_destroy(OSFI_CLP **clp)
OSFI_CLP * osfi_clp_create(int argc, char *argv[])
struct OSFI_CLP_t OSFI_CLP
Definition: CLP.h:40
int osfi_clp_get_num_files(const OSFI_CLP *clp, enum osfi_clp_filetype type)
osfi_clp_filetype
Definition: CLP.h:43
@ OSFI_CLP_FT_INP
Input files (2nd argument)
Definition: CLP.h:45
@ OSFI_CLP_FT_CONF
Configuration files (1st argument)
Definition: CLP.h:44
@ OSFI_CLP_FT_OUT
Output files (3rd argument)
Definition: CLP.h:46
bool osfi_clp_get_file(const OSFI_CLP *clp, enum osfi_clp_filetype type, int index, char *fileName, int *bufSz)
Internal header used by the foreign-function interface to OSFI-C++.
#define OSFI_FFI_DECL_PLACEHOLDER(name)
Definition: ffi_base.h:52