OSDN Git Service

1.change core file extension to .c from .cpp
[mimic/MiMicSDK.git] / lib / src / net / NyLPC_cNet.h
1 #ifndef NYLPC_CNET_H_\r
2 #define NYLPC_CNET_H_\r
3 \r
4 #include "NyLPC_stdlib.h"\r
5 #include "NyLPC_uipService.h"\r
6 #include "NyLPC_cNetConfig.h"\r
7 #ifdef __cplusplus\r
8 extern "C" {\r
9 #endif /* __cplusplus */\r
10 /**\r
11  * クラス型を定義します。\r
12  */\r
13 typedef struct NyLPC_TcNet NyLPC_TcNet_t;\r
14 \r
15 /**\r
16  * Platformを示す文字列\r
17  */\r
18 extern const char* NyLPC_cNet_PlatformName;\r
19 \r
20 \r
21 struct NyLPC_TcNet\r
22 {\r
23         int dummy;\r
24 };\r
25 \r
26 /**\r
27  * ネットワークを初期化する。\r
28  */\r
29 void NyLPC_cNet_initialize(NyLPC_TcNet_t* i_inst);\r
30 \r
31 #define NyLPC_cNet_finalize(inst)\r
32 /**\r
33  * 関数は、ネットワークアダプタの値を元にNyLPC_cMiMicEnv_PlatformName変数の値を更新します。\r
34  * @param i_ref_config\r
35  * Networkコンフィギュレーション変数。このオブジェクトはcNetをstopするまで維持すること。\r
36  */\r
37 void NyLPC_cNet_start(NyLPC_TcNet_t* i_inst,const NyLPC_TcNetConfig_t* i_ref_config);\r
38 \r
39 #ifdef __cplusplus\r
40 }\r
41 #endif /* __cplusplus */\r
42 #endif /* NYLPC_CNET_H_ */\r