clibdocker  0.1.0-alpha.0
A Docker API for C
docker_common.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2018-2022 Abhishek Mishra
4  *
5  * This file is part of clibdocker.
6  *
7  * clibdocker is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation,
10  * either version 3 of the License, or (at your option)
11  * any later version.
12  *
13  * clibdocker is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public
19  * License along with clibdocker.
20  * If not, see <https://www.gnu.org/licenses/>.
21  *
22  */
23 
29 #ifndef SRC_DOCKER_COMMON_H_
30 #define SRC_DOCKER_COMMON_H_
31 
32 #define MODULE_API_EXPORTS
33 #ifdef _WIN32
34 # ifdef MODULE_API_EXPORTS
35 # define MODULE_API __declspec(dllexport)
36 # else
37 # define MODULE_API __declspec(dllimport)
38 # endif
39 #else
40 # define MODULE_API
41 #endif
42 
43 #endif /* SRC_DOCKER_COMMON_H_ */