source: azure_iot_hub_f767zi/trunk/azure_iot_sdk/iothub_client/inc/iothub_transport_ll.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 1.1 KB
Line 
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
4#ifndef IOTHUB_TRANSPORT_LL_H
5#define IOTHUB_TRANSPORT_LL_H
6
7#ifdef __cplusplus
8#include <cstddef>
9#include <cstdint>
10extern "C"
11{
12#else
13#include <stddef.h>
14#include <stdint.h>
15#endif
16
17#include "umock_c/umock_c_prod.h"
18
19typedef void* TRANSPORT_LL_HANDLE;
20typedef void* IOTHUB_DEVICE_HANDLE;
21
22struct TRANSPORT_HANDLE_DATA_TAG;
23typedef struct TRANSPORT_HANDLE_DATA_TAG* TRANSPORT_HANDLE;
24
25typedef void* METHOD_HANDLE;
26
27struct TRANSPORT_PROVIDER_TAG;
28typedef struct TRANSPORT_PROVIDER_TAG TRANSPORT_PROVIDER;
29
30typedef const TRANSPORT_PROVIDER*(*IOTHUB_CLIENT_TRANSPORT_PROVIDER)(void);
31
32MOCKABLE_FUNCTION(, TRANSPORT_HANDLE, IoTHubTransport_Create, IOTHUB_CLIENT_TRANSPORT_PROVIDER, protocol, const char*, iotHubName, const char*, iotHubSuffix);
33MOCKABLE_FUNCTION(, void, IoTHubTransport_Destroy, TRANSPORT_HANDLE, transportHandle);
34MOCKABLE_FUNCTION(, TRANSPORT_LL_HANDLE, IoTHubTransport_GetLLTransport, TRANSPORT_HANDLE, transportHandle);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* IOTHUB_TRANSPORT_LL_H */
41
Note: See TracBrowser for help on using the repository browser.