globalplatform
init.h
Go to the documentation of this file.
1 /* Copyright (c) 2022, Karsten Ohme
2  * This file is part of GlobalPlatform.
3  *
4  * GlobalPlatform 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  * GlobalPlatform 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 GlobalPlatform. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
22 #ifndef OPGP_INIT_H
23 #define OPGP_INIT_H
24 
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29 
30 
31 #include "globalplatform/library.h"
32 
34 OPGP_NO_API
35 void init(void);
36 
38 OPGP_NO_API
39 void fini(void);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif
OPGP_NO_API void init(void)
Handles the library initialization.
Definition: init.c:55
OPGP_NO_API void fini(void)
Handles the library deinitialization.
Definition: init.c:84