Microsoft Azure IoT Gateway SDK  1.0.8
The Microsoft Azure IoT Gateway SDK contains the infrastructure and modules to create IoT gateway solutions.
dynamic_loader.h
Go to the documentation of this file.
1 // Copyright (c) Microsoft. All rights reserved.
2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 
12 #ifndef DYNAMIC_LOADER_H
13 #define DYNAMIC_LOADER_H
14 
15 #include "azure_c_shared_utility/strings.h"
16 #include "azure_c_shared_utility/umock_c_prod.h"
17 
18 #include "module.h"
19 #include "module_loader.h"
20 #include "gateway_export.h"
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 #define DYNAMIC_LOADER_NAME "native"
28 
31 {
33  STRING_HANDLE moduleLibraryFileName;
35 
37 MOCKABLE_FUNCTION(, GATEWAY_EXPORT const MODULE_LOADER*, DynamicLoader_Get);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif // DYNAMIC_LOADER_H
STRING_HANDLE moduleLibraryFileName
file name, path to shared library
Definition: dynamic_loader.h:33
Definition of the functions and structures that must be implemented by a gateway module loader...
Definition: module_loader.h:119
MOCKABLE_FUNCTION(, GATEWAY_EXPORT const MODULE_LOADER *, DynamicLoader_Get)
The API for the dynamically linked module loader.
struct DYNAMIC_LOADER_ENTRYPOINT_TAG DYNAMIC_LOADER_ENTRYPOINT
Structure to load a dynamically linked module.
Interface for modules which communicate with other modules via a message broker.
Structure to load a dynamically linked module.
Definition: dynamic_loader.h:30