Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
core/net/NyLPC_cNet.h
- Committer:
- nyatla
- Date:
- 2013-04-20
- Revision:
- 12:efe841863fc8
- Parent:
- 3:0a94993be1f6
- Child:
- 37:fc4b4fd6a649
File content as of revision 12:efe841863fc8:
#ifndef NYLPC_CNET_H_
#define NYLPC_CNET_H_
#include "NyLPC_stdlib.h"
#include "NyLPC_uipService.h"
#include "NyLPC_cNetConfig.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* クラス型を定義します。
*/
typedef struct NyLPC_TcNet NyLPC_TcNet_t;
/**
* Platformを示す文字列
*/
extern const char* NyLPC_cNet_PlatformName;
struct NyLPC_TcNet
{
int dummy;
};
/**
* ネットワークを初期化する。
*/
void NyLPC_cNet_initialize(NyLPC_TcNet_t* i_inst);
#define NyLPC_cNet_finalize(inst)
/**
* 関数は、ネットワークアダプタの値を元にNyLPC_cMiMicEnv_PlatformName変数の値を更新します。
* @param i_ref_config
* Networkコンフィギュレーション変数。このオブジェクトはcNetをstopするまで維持すること。
*/
void NyLPC_cNet_start(NyLPC_TcNet_t* i_inst,const NyLPC_TcNetConfig_t* i_ref_config);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* NYLPC_CNET_H_ */
