mirror of
https://github.com/espressif/openthread.git
synced 2026-09-17 22:50:07 +00:00
[types] move types into specific headers (#2946)
This commit is contained in:
@@ -35,8 +35,6 @@
|
||||
#ifndef __OTLWFIOCTL_H__
|
||||
#define __OTLWFIOCTL_H__
|
||||
|
||||
#include <openthread/types.h>
|
||||
|
||||
__inline LONG ThreadErrorToNtstatus(otError error) { return (LONG)-((int)error); }
|
||||
|
||||
// User-mode IOCTL path for CreateFile
|
||||
|
||||
@@ -29,14 +29,12 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief
|
||||
* This file defines a node interface for openthread.h to be used for certification tests
|
||||
* This file defines a node interface for openthread to be used for certification tests
|
||||
*/
|
||||
|
||||
#ifndef OTNODE_H_
|
||||
#define OTNODE_H_
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
|
||||
#ifndef OTNODEAPI
|
||||
#define OTNODEAPI __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
#define OTDLL
|
||||
#define OTAPI EXTERN_C __declspec(dllexport)
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/border_router.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/error.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
#include <openthread/commissioner.h>
|
||||
#include <openthread/joiner.h>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/cli.h>
|
||||
#include <openthread/platform/uart.h>
|
||||
#include <openthread/platform/misc.h>
|
||||
|
||||
@@ -61,7 +61,6 @@ RtlCopyBufferToMdl(
|
||||
|
||||
#include <openthread-windows-config.h>
|
||||
#include <openthread-core-config.h>
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/border_router.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
|
||||
@@ -49,7 +49,6 @@ using namespace std;
|
||||
#define OTDLL
|
||||
#define OTNODEAPI EXTERN_C __declspec(dllexport)
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/border_router.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
|
||||
Reference in New Issue
Block a user