otInstance Declarations (#473)

* Add otInstance type declaration and update ot APIs to take it as input.
This commit is contained in:
Nick Banks
2016-09-12 14:29:43 -07:00
committed by Jonathan Hui
parent 9b1de7bbb2
commit ffbe65c6dd
67 changed files with 1560 additions and 1099 deletions
+4 -2
View File
@@ -35,7 +35,7 @@
#ifndef NCP_H_
#define NCP_H_
#include "../openthread-types.h"
#include <openthread-types.h>
#ifdef __cplusplus
extern "C" {
@@ -44,8 +44,10 @@ extern "C" {
/**
* Initialize the NCP.
*
* @param[in] aInstance The OpenThread instance structure.
*
*/
void otNcpInit(void);
void otNcpInit(otInstance *aInstance);
/**
* @brief Send data to the host via a specific stream.